auth
eip712

Get EIP-712 signing domain

Return the EIP-712 domain separator used for Namefi payload signing. The Namefi domain is chain-agnostic (chainId omitted) to allow cross-chain signatures.

get/eip712/domain

Request

  • Base URL: https://api.namefi.io/v-next
  • URL: https://api.namefi.io/v-next/eip712/domain
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Query parameters

chaininteger required

EIP-155 chain ID to query the signing domain for.

Headers

x-namefi-eip7702-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred header name.

x-namefi-eip1271-accountstring

Legacy alias for x-namefi-erc1271-account. When multiple delegated account headers are present, x-namefi-eip7702-account takes precedence, then x-namefi-erc1271-account.

x-namefi-erc1271-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred ERC-1271 header name.

Response

OK

namestring

Human-readable signing domain name.

versionstring

Domain version string.

chainIdinteger

EIP-155 chain ID bound to the domain, if chain-specific signing is used.

verifyingContractstring

Contract address bound to the domain, if applicable.

saltstring

Disambiguation salt, if applicable.

Changes

No recorded changes to this operation across all 1 revision of this API.