Blockchains
Get blockchains returns the supported blockchains for a decentralized exchange.
Get Blockchains
GEThttps://api.adesic.com/v2/dex/{exchange}
Returns an array of supported blockchains for a decentralized exchange.
Path Parameters
| Name | Type | Description |
|---|---|---|
| exchange* | string | The decentralized exchange |
Query Parameters
| Name | Type | Description |
|---|---|---|
| apiKey* | string | Your Adesic API Key |
200: OK Success
success-response.json
[
{
"id": "ethereum",
"name": "Ethereum"
},
{
"id": "polygon",
"name": "Polygon"
},
{
"id": "optimism",
"name": "Optimism"
},
{
"id": "celo",
"name": "Celo"
},
{
"id": "arbitrum",
"name": "Arbitrum"
},
{
"id": "binance",
"name": "Binance Smart Chain"
}
]Copy & Paste Code
cURL
curl-request.sh
curl -H "api-key: API KEY" https://api.adesic.com/v2/dex/uniswapResponse Object
Example URL: https://api.adesic.com/v2/dex/uniswap
response.json
[
{
"id": "ethereum",
"name": "Ethereum"
},
{
"id": "polygon",
"name": "Polygon"
},
{
"id": "optimism",
"name": "Optimism"
},
{
"id": "celo",
"name": "Celo"
},
{
"id": "arbitrum",
"name": "Arbitrum"
},
{
"id": "binance",
"name": "Binance Smart Chain"
}
]Response Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| id | string | Unique blockchain identifier used by Adesic. |
| name | string | The official name of the blockchain. |