Interface EIP712ToSign

EI712ToSign represents a signable EIP-712 payload that can be signed using MetaMask or Keplr.

interface EIP712ToSign {
    domain: {
        chainId: number;
        name: string;
        salt: string;
        verifyingContract: string;
        version: string;
    };
    message: object;
    primaryType: string;
    types: object;
}

Properties

domain: {
    chainId: number;
    name: string;
    salt: string;
    verifyingContract: string;
    version: string;
}
message: object
primaryType: string
types: object