Skip to content
docs

EvmTransaction

Defined in: wallet-evm/src/types.ts:50

A transaction in ethers shape (gasLimit, numeric type). Anything missing is filled from the network when a provider is configured.

optional accessList?: object[]

Defined in: wallet-evm/src/types.ts:72

EIP-2930 access list.

address: `0x${string}`

storageKeys: `0x${string}`[]


optional authorizationList?: object[]

Defined in: wallet-evm/src/types.ts:74

EIP-7702 signed authorizations (type 4).

address: `0x${string}`

chainId: number

nonce: number

r: `0x${string}`

s: `0x${string}`

yParity: number


optional chainId?: number | bigint

Defined in: wallet-evm/src/types.ts:70

Must match the account’s chain; a mismatch throws ChainMismatchError.


optional data?: string

Defined in: wallet-evm/src/types.ts:56

Calldata, 0x-prefixed.


optional from?: string

Defined in: wallet-evm/src/types.ts:76

Ignored: always the account itself (kept so ethers-shaped objects pass through).


optional gasLimit?: number | bigint

Defined in: wallet-evm/src/types.ts:58

Gas limit; estimated with gasHeadroom when omitted.


optional gasPrice?: number | bigint

Defined in: wallet-evm/src/types.ts:60

Legacy (type 0) gas price in wei.


optional maxFeePerGas?: number | bigint

Defined in: wallet-evm/src/types.ts:62

EIP-1559 fee cap in wei.


optional maxPriorityFeePerGas?: number | bigint

Defined in: wallet-evm/src/types.ts:64

EIP-1559 tip in wei.


optional nonce?: number

Defined in: wallet-evm/src/types.ts:68

Filled from the network (pending) when omitted.


optional to?: string

Defined in: wallet-evm/src/types.ts:52

Recipient or called contract; omit to deploy a contract.


optional type?: number

Defined in: wallet-evm/src/types.ts:66

0 legacy, 2 EIP-1559 (default when fee fields are 1559), 4 EIP-7702.


optional value?: string | number | bigint

Defined in: wallet-evm/src/types.ts:54

Native value in wei.