Skip to content

decodeTypedData

decodeTypedData(data, options?): Promise<DecodedOperation>

Defined in: packages/sdk/src/decode/decodeTypedData.ts:318

Decode an EIP-712 payload using an official (or override) descriptor from index.eip712.json. Lookup is CAIP-10 eip155:{chainId}:{verifyingContract} plus primaryType / keccak256(encodeType). Without a match, falls back to inferred fields from the payload types — never confidence: "high".

TypedDataInput

DecodeOptions

Promise<DecodedOperation>