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.
Properties
Section titled “Properties”amount?
Section titled “amount?”
optionalamount?:bigint
Defined in: wallet-evm/src/describe.ts:63
Token amount for erc20-transfer / transferFrom / approve.
optionalcall?: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
Section titled “chainId”chainId:
number|undefined
Defined in: wallet-evm/src/describe.ts:76
Chain id named by the transaction, if any.
delegations?
Section titled “delegations?”
optionaldelegations?:object[]
Defined in: wallet-evm/src/describe.ts:69
Delegation targets for an EIP-7702 tx.
address
Section titled “address”address:
string
chainId
Section titled “chainId”chainId:
number
kind:
TxKind
Defined in: wallet-evm/src/describe.ts:51
What it does.
owner?
Section titled “owner?”
optionalowner?:string
Defined in: wallet-evm/src/describe.ts:67
Source account for erc20-transferFrom.
recipient?
Section titled “recipient?”
optionalrecipient?:string
Defined in: wallet-evm/src/describe.ts:61
Token recipient for the erc20 transfer kinds.
selector
Section titled “selector”selector:
`0x${string}`|undefined
Defined in: wallet-evm/src/describe.ts:57
4-byte selector of the calldata, when there is calldata.
spender?
Section titled “spender?”
optionalspender?: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.
token?
Section titled “token?”
optionaltoken?: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
Section titled “warnings”warnings:
TxWarning[]
Defined in: wallet-evm/src/describe.ts:78
Problems to show before signing.