Supported Blockchains#
Returns information about all blockchain networks currently supported by Wallet API, except for the API on this part
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/wallet/chain/supported-chains
Request Parameters#
None
Response Parameters#
Parameter | Type | Description |
---|---|---|
name | String | Chain name |
logoUrl | String | Chain logo URL |
shortName | String | Chain short name |
chainIndex | String | Chain unique identifier |
Request Example#
shell
curl --location --request GET 'https://www.okx.com/api/v5/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": ""
}