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.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?:DecodedOperation[]
Defined in: packages/sdk/src/decode/types.ts:257
Nested Multicall3 / Safe CALL / UserOp inner targets.
confidence
Section titled “confidence”confidence:
Confidence
Defined in: packages/sdk/src/decode/types.ts:236
diagnostics
Section titled “diagnostics”diagnostics:
DecodeDiagnostic[]
Defined in: packages/sdk/src/decode/types.ts:255
Decision chain for this operation. Always set, including on a hit.
excluded
Section titled “excluded”excluded:
string[]
Defined in: packages/sdk/src/decode/types.ts:251
Paths the descriptor told the wallet not to show.
fields
Section titled “fields”fields:
DecodedField[]
Defined in: packages/sdk/src/decode/types.ts:249
functionName?
Section titled “functionName?”
optionalfunctionName?:string
Defined in: packages/sdk/src/decode/types.ts:245
intent
Section titled “intent”intent:
string
Defined in: packages/sdk/src/decode/types.ts:239
Descriptor intent, or a fallback label. Not the interpolated sentence.
interpolatedIntent?
Section titled “interpolatedIntent?”
optionalinterpolatedIntent?: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
Section titled “metadata”metadata:
object
Defined in: packages/sdk/src/decode/types.ts:259
Labels copied from the descriptor metadata. Not a second decode.
chainId?
Section titled “chainId?”
optionalchainId?:number
contractAddress?
Section titled “contractAddress?”
optionalcontractAddress?:`0x${string}`
contractName?
Section titled “contractName?”
optionalcontractName?:string
descriptorId?
Section titled “descriptorId?”
optionaldescriptorId?:string
owner?
Section titled “owner?”
optionalowner?:string
protocolUrl?
Section titled “protocolUrl?”
optionalprotocolUrl?:string
registryPath?
Section titled “registryPath?”
optionalregistryPath?:string
raw:
object
Defined in: packages/sdk/src/decode/types.ts:269
Values the decoder read before formatting.
optionalargs?: readonlyunknown[]
message?
Section titled “message?”
optionalmessage?:Record<string,unknown>
selector?
Section titled “selector?”
optionalselector?:`0x${string}`
selector?
Section titled “selector?”
optionalselector?:`0x${string}`
Defined in: packages/sdk/src/decode/types.ts:248
signature?
Section titled “signature?”
optionalsignature?:string
Defined in: packages/sdk/src/decode/types.ts:247
Solidity declaration, for example deposit().
source
Section titled “source”source:
DecodeSource
Defined in: packages/sdk/src/decode/types.ts:237
trust:
TrustReport
Defined in: packages/sdk/src/decode/types.ts:253
warnings
Section titled “warnings”warnings:
SecurityWarning[]
Defined in: packages/sdk/src/decode/types.ts:252