My App

Get blockchain configuration

Retrieve the blockchain configuration including chain identity, EIP-712 domain, and smart contract addresses.

GET
/chain/config
OBSIDIAN-KEY<token>

In: header

OBSIDIAN-SECRET<token>

In: header

Response Body

application/json

application/json

curl -X GET "https://api.dev.obsidian.exchange/chain/config"
{
  "name": "string",
  "chain_id": 0,
  "domain": {
    "name": "string",
    "version": "string",
    "chain_id": "string",
    "verifying_contract": "string"
  },
  "addresses": {
    "exchange_contract": "string",
    "perp_contract": "string",
    "spot_contract": "string",
    "clearing_service_contract": "string",
    "order_book_contract": "string",
    "universal_sig_validator_contract": "string"
  }
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}