The domain of the EIP-712 typed data.

interface EIP712Domain {
    chainId?: number;
    name?: string;
    salt?: string;
    verifyingContract?: string;
    version?: string;
}

Properties

chainId?: number

The chain ID of the EVM network.

name?: string

The name of the DApp or protocol.

salt?: string

The optional 32-byte 0x-prefixed hex salt for domain separation.

^0x[a-fA-F0-9]{64}$

verifyingContract?: string

The 0x-prefixed EVM address of the verifying smart contract.

^0x[a-fA-F0-9]{40}$

version?: string

The version of the DApp or protocol.