Wallet API
Get Supported Blockchains

Get Supported Blockchains#

Returns information about all blockchain networks currently supported by OKX WaaS, such as logos and unique identifiers for main chain coins on networks like Bitcoin and Ethereum.

Request Path#

GET https://www.okx.com/api/v5/waas/wallet/chain/supported-chains

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://www.okx.com/api/v5/waas/wallet/chain/supported-chains' \
--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": ""
}