Skip to content
docs

TxDescription

Defined in: wallet-evm/src/describe.ts:49

An EVM transaction decoded for a confirmation screen, without any network call. For simulated balance changes use tx-preview-evm.

optional amount?: bigint

Defined in: wallet-evm/src/describe.ts:63

Token amount for erc20-transfer / transferFrom / approve.


optional call?: TxKind

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

For an EIP-7702 tx (kind ‘eip7702-delegation’): what its call does, decoded like any other transaction — the token / spender / amount fields and the warnings are the call’s.


chainId: number | undefined

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

Chain id named by the transaction, if any.


optional delegations?: object[]

Defined in: wallet-evm/src/describe.ts:69

Delegation targets for an EIP-7702 tx.

address: string

chainId: number


kind: TxKind

Defined in: wallet-evm/src/describe.ts:51

What it does.


optional owner?: string

Defined in: wallet-evm/src/describe.ts:67

Source account for erc20-transferFrom.


optional recipient?: string

Defined in: wallet-evm/src/describe.ts:61

Token recipient for the erc20 transfer kinds.


selector: `0x${string}` | undefined

Defined in: wallet-evm/src/describe.ts:57

4-byte selector of the calldata, when there is calldata.


optional spender?: string

Defined in: wallet-evm/src/describe.ts:65

Spender for erc20-approve.


to: string | undefined

Defined in: wallet-evm/src/describe.ts:53

Checksummed to, or undefined for a deploy.


optional token?: string

Defined in: wallet-evm/src/describe.ts:59

ERC-20 contract for the erc20-* kinds.


value: bigint

Defined in: wallet-evm/src/describe.ts:55

Native value in wei.


warnings: TxWarning[]

Defined in: wallet-evm/src/describe.ts:78

Problems to show before signing.