import type { SimulationResult, TransactionFeeData } from '@dynamic-labs-sdk/client'; import type { Hex } from 'viem'; /** * EVM transaction data required for simulation. * * This represents a transaction to be simulated before execution. */ export type EvmTransactionToSimulate = { /** * Encoded function call data for contract interactions */ data?: Hex; /** * Address sending the transaction */ from: Hex; /** * Network identifier matching NetworkData.networkId (e.g., '1' for Ethereum, '137' for Polygon) */ networkId: string; /** * Address receiving the transaction */ to: Hex; /** * Amount of native token to send (in wei) */ value?: bigint; }; /** * EVM-specific transaction fee data extending the base fee data with gas details. * * Includes both legacy and EIP-1559 gas pricing fields. */ export type EvmTransactionFeeData = TransactionFeeData & { /** * Estimated gas units required for the transaction */ gasEstimate: bigint; /** * Legacy gas price in wei per gas unit */ gasPrice?: bigint; /** * EIP-1559 maximum fee per gas unit in wei */ maxFeePerGas?: bigint; /** * EIP-1559 maximum priority fee (tip) per gas unit in wei */ maxPriorityFeePerGas?: bigint; }; /** * EVM transaction simulation result with typed fee data. */ export type EvmSimulationResult = SimulationResult; //# sourceMappingURL=transactionSimulation.types.d.ts.map