interface TypedData {
    domain: {};
    message: {};
    primaryType: string;
    types: {
        EIP712Domain: any[];
        [k: string]: {
            name?: string;
            type?: string;
        }[];
    };
}

Properties

domain: {}

Contains the domain separator values specified in the EIP712Domain type.

message: {}

The message you're proposing the user to sign.

primaryType: string
types: {
    EIP712Domain: any[];
    [k: string]: {
        name?: string;
        type?: string;
    }[];
}

Type declaration

  • [k: string]: {
        name?: string;
        type?: string;
    }[]
  • EIP712Domain: any[]

    An array specifying one or more of the following domain separator values: 1) name - The user-readable name of the signing domain, that is, the name of the dapp or the protocol. 2) version - The current major version of the signing domain. 3) chainId - The chain ID of the network. 4) verifyingContract - The address of the contract that will verify the signature. 5) salt - A disambiguating salt for the protocol.