Skip to main content
GET
/
defi
/
swaps
/
chains
Get supported chains for swaps
curl --request GET \
  --url http://localhost:4000/v1/defi/swaps/chains \
  --header 'Authorization: <api-key>'
{
  "chains": [
    {
      "chainId": 1,
      "name": "Ethereum Mainnet",
      "supported": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Response

200 - application/json

List of supported chains

chains
object[]