logo
OpenapiAuth

Get all EIP-712 types

API Docs with browser client
GET
/eip712/types

Return registered legacy header/envelope types. V4 typed-data metadata uses signing instructions returned by the operation.

Authorization

headerx-api-key<token>

Response Body

OK

application/json
  1. response

Map of struct name to its typed-data fields (EIP-712 types object).

[key: string]?array<>
Example Request
curl -X GET 'https://example.com/v4/eip712/types'
Example Response
{  "property1": [    {      "name": "string",      "type": "string"    }  ],  "property2": [    {      "name": "string",      "type": "string"    }  ]}