domain
domain: { chainId?: number; name?: string; salt?: ArrayBuffer; verifyingContract?: string; version?: string }
Type declaration
Optional chainId?: number
Optional name?: string
Optional salt?: ArrayBuffer
Optional verifyingContract?: string
Optional version?: string
This is the message format used for
signTypeData, for all versions exceptV1.types - The custom types used by this message.
primaryType - The type of the message.
domain - Signing domain metadata. The signing domain is the intended context for the signature (e.g. the dapp, protocol, etc. that it's intended for). This data is used to construct the domain seperator of the message.
domain.name - The name of the signing domain.
domain.version - The current major version of the signing domain.
domain.chainId - The chain ID of the signing domain.
domain.verifyingContract - The address of the contract that can verify the signature.
domain.salt - A disambiguating salt for the protocol.
message - The message to be signed.