Skip to content
docs

DecodedCall

Defined in: index.ts:83

One call decoded: method, value, and the approval or token transfer it makes.

optional approval?: Approval

Defined in: index.ts:89


optional approvals?: Approval[]

Defined in: index.ts:91

Every allowance the call grants when it grants more than one (a Permit2 batch permit); approval is the first.


label: string | null

Defined in: index.ts:85


method: string

Defined in: index.ts:87


selector: string | null

Defined in: index.ts:86


to: string

Defined in: index.ts:84


optional transfer?: object

Defined in: index.ts:98

amount: bigint

to: string

token: string


optional undecodable?: true

Defined in: index.ts:100

The calldata is not hex bytes: nothing can be said about what it does (a warning, never a plain call).


optional unparsedApproval?: true

Defined in: index.ts:97

A selector that grants an allowance (EIP-2612 or Permit2 permit) whose arguments could not be read: shorter than the ABI needs, or offsets and lengths out of range. What it grants is unknown, so it is a warning (checksFor), never a plain call.


value: bigint

Defined in: index.ts:88