decodeTypedData
decodeTypedData(
data,options?):Promise<DecodedOperation>
Defined in: packages/sdk/src/decode/decodeTypedData.ts:219
Decode EIP-712 typed data. Domain and domainSeparator bindings go through
matchContext. With no descriptor, fields come from the message.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<DecodedOperation>
Throws
Section titled “Throws”InvalidInputError INVALID_TYPED_DATA when domain, types,
primaryType, or message is missing, and INVALID_CHAIN_ID or
INVALID_ADDRESS when those fields are present but not usable.