Market API

Get Supported Chains#

Retrieve information on chains supported by Index price API

Request URL#

GET https://web3.okx.com/api/v5/dex/balance/supported/chain

Request Parameters#

None

Response Parameters#

ParameterTypeDescription
nameStringChain name
logoUrlStringChain logo URL
shortNameStringChain short name
chainIndexStringChain unique identifier

Request Example#

shell
curl --location --request GET 'https://web3.okx.com/api/v5/dex/balance/supported/chain' \
--header 'Content-Type: application/json' \
--header 'OK-ACCESS-PROJECT: 86af********d1bc' \
--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#

200
{
    "code": "0",
    "data": [
        {
            "name": "Ethereum",
            "logoUrl": "http://www.eth.org/eth.png",
            "shortName": "ETH",
            "chainIndex": "1"
        }
    ],
    "msg": ""
}