Get Supported Chains#
Query all chains currently covered by DeFi investment products. The chain list is aggregated from the database by a scheduled task and cached in Redis, containing chain IDs and network names. It can be used to display chain filters on the frontend, or as a source for the chainIndex parameter in other endpoints (such as /api/v6/defi/product/search and /api/v6/defi/product/supported-platforms).
URL: GET /api/v6/defi/product/supported-chains
Request Parameters#
No request parameters.
Request Example#
GET /api/v6/defi/product/supported-chainsResponse Parameters#
data Array Elements
| Field | Type | Explanation |
|---|---|---|
| chainIndex | String | Chain ID (e.g., "1"=Ethereum, "56"=BSC, "137"=Polygon) |
| network | String | Network identifier (e.g., "ETH", "BSC", "POLYGON") |
Response Example#
Json
{
"code": 0,
"data": [
{
"chainIndex": "1",
"network": "ETH"
},
{
"chainIndex": "56",
"network": "BSC"
},
{
"chainIndex": "137",
"network": "POLYGON"
},
{
"chainIndex": "42161",
"network": "ARBITRUM"
},
{
"chainIndex": "8453",
"network": "BASE"
}
]
}
The actual number of chains returned depends on which chains currently have live investment products. The list is updated by a scheduled task, typically refreshed once per hour.
Table of contents