Skip to content

DecodedOperation

Defined in: packages/sdk/src/decode/types.ts:235

One decoded call. This is the source of truth for screens, trust, and warnings. Nested Multicall3 / Safe CALL / UserOp targets are children, not fields.

optional children?: DecodedOperation[]

Defined in: packages/sdk/src/decode/types.ts:257

Nested Multicall3 / Safe CALL / UserOp inner targets.


confidence: Confidence

Defined in: packages/sdk/src/decode/types.ts:236


diagnostics: DecodeDiagnostic[]

Defined in: packages/sdk/src/decode/types.ts:255

Decision chain for this operation. Always set, including on a hit.


excluded: string[]

Defined in: packages/sdk/src/decode/types.ts:251

Paths the descriptor told the wallet not to show.


fields: DecodedField[]

Defined in: packages/sdk/src/decode/types.ts:249


optional functionName?: string

Defined in: packages/sdk/src/decode/types.ts:245


intent: string

Defined in: packages/sdk/src/decode/types.ts:239

Descriptor intent, or a fallback label. Not the interpolated sentence.


optional interpolatedIntent?: string

Defined in: packages/sdk/src/decode/types.ts:244

Sentence with field values filled in. Omitted when the descriptor has no template or a {path} placeholder cannot be resolved.


metadata: object

Defined in: packages/sdk/src/decode/types.ts:259

Labels copied from the descriptor metadata. Not a second decode.

optional chainId?: number

optional contractAddress?: `0x${string}`

optional contractName?: string

optional descriptorId?: string

optional owner?: string

optional protocolUrl?: string

optional registryPath?: string


raw: object

Defined in: packages/sdk/src/decode/types.ts:269

Values the decoder read before formatting.

optional args?: readonly unknown[]

optional message?: Record<string, unknown>

optional selector?: `0x${string}`


optional selector?: `0x${string}`

Defined in: packages/sdk/src/decode/types.ts:248


optional signature?: string

Defined in: packages/sdk/src/decode/types.ts:247

Solidity declaration, for example deposit().


source: DecodeSource

Defined in: packages/sdk/src/decode/types.ts:237


trust: TrustReport

Defined in: packages/sdk/src/decode/types.ts:253


warnings: SecurityWarning[]

Defined in: packages/sdk/src/decode/types.ts:252