Get Supported Chains#
Get the list of currently supported chains.
Request Path#
GET https://web3.okx.com/api/v6/dex/market/portfolio/supported/chain
Request Parameters#
None
Response Parameters#
| Parameter | Type | Description |
|---|---|---|
| chainIndex | String | Unique identifier of the chain |
| chainName | String | Chain name |
| chainLogo | String | Chain logo URL |
Request Example#
Shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/portfolio/supported/chain' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'
Response Example#
Json
{
"code": "0",
"data": [
{
"chainIndex": "1",
"chainName": "Ethereum",
"chainLogo": "https://static.okx.com/cdn/wallet/logo/ETH-20220328.png"
},
{
"chainIndex": "501",
"chainName": "Solana",
"chainLogo": "https://static.okx.com/cdn/wallet/logo/SOL.png"
}
],
"msg": ""
}