Skip to content

The full EIP-712 typed-data payload the SDK asks a wallet to sign; useful for displaying what a user is about to sign or for offline verification.

Properties

domain

domain: EIP712Domain;

EIP-712 domain: contract name/version, chain ID, and the verifying Anvil contract.


message

message: Record<string, unknown>;

The field values being signed.


primaryType

primaryType: string;

Name of the message struct being signed, e.g. CollateralizableTokenAllowanceAdjustment.


types

types: Record<string, TypedDataField[]>;

Struct definitions the message references, in viem TypedData shape.