EvmTransaction
EvmTransaction =
BaseTransaction&object
Defined in: types.ts:157
An EVM transaction. Trackers fill the on-chain fields (hash, nonce, fees, to, value, input) once the
transaction details are available.
Type Declaration
adapter
adapter:
OrbitAdapter.EVM
Always OrbitAdapter.EVM.
bundlerUrl?
optionalbundlerUrl?:string
Custom bundler RPC URL used to track an ERC-4337 UserOperation. Stored with the transaction, so it is persisted to
localStorage and passed to onRemoteCreate (a backend can track through the same bundler). Keep API keys out of
this URL; pass them as pimlicoApiKey.
hash?
optionalhash?:`0x${string}`
The on-chain transaction hash: the txKey for standard transactions, and the hash of the mined transaction for
ERC-4337, Safe and Gelato once it is known.
input?
optionalinput?:`0x${string}`
The calldata of the transaction.
maxFeePerGas?
optionalmaxFeePerGas?:string
EIP-1559 max fee per gas, in wei, as a decimal string.
maxPriorityFeePerGas?
optionalmaxPriorityFeePerGas?:string
EIP-1559 max priority fee per gas, in wei, as a decimal string.
nonce?
optionalnonce?:number
The nonce of the sender account.
pimlicoApiKey?
optionalpimlicoApiKey?:string
Pimlico API key used to track an ERC-4337 UserOperation when no bundlerUrl is set. Persisted to localStorage
with the transaction, so tracking can resume after a reload, but never passed to onRemoteCreate.
replacedTxHash?
optionalreplacedTxHash?:`0x${string}`
The hash of the transaction that replaced this one (set with status: Replaced). For Safe transactions it is the
safeTxHash of the transaction executed instead.
to?
optionalto?:`0x${string}`
The recipient or contract address.
value?
optionalvalue?:string
The native value sent, in wei, as a decimal string.