logo
OpenapiAuth

Get EIP-712 signing domain

API Docs with browser client
GET
/eip712/domain

Return the legacy header/envelope signing domain. For v4 typed-data metadata, request signing instructions from the operation itself.

Authorization

headerx-api-key<token>

Query Parameters

chain*integer

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

Range-9007199254740991 <= value <= 9007199254740991

Response Body

OK

application/json
  1. response

EIP-712 typed-data domain separator.

name?string

Human-readable signing domain name.

version?string

Domain version string.

chainId?integer

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

Range-9007199254740991 <= value <= 9007199254740991
verifyingContract?string

Contract address bound to the domain, if applicable.

salt?string

Disambiguation salt, if applicable.

Example Request
curl -X GET 'https://example.com/v4/eip712/domain?chain=-9007199254740991'
Example Response
{  "name": "string",  "version": "string",  "chainId": -9007199254740991,  "verifyingContract": "string",  "salt": "string"}