Returns information about all blockchain networks currently supported by Wallet API, such as logos and unique identifiers for main chain coins on networks like Bitcoin and Ethereum.
GET https://www.okx.com/api/v5/wallet/chain/supported-chains
None
Parameter | Type | Description |
---|---|---|
name | String | Chain name |
logoUrl | String | Chain logo URL |
shortName | String | Chain short name |
chainIndex | String | Chain unique identifier |
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'
{
"code": "0",
"data": [
{
"name": "Ethereum",
"logoUrl": "http://www.eth.org/eth.png",
"shortName": "ETH",
"chainIndex": "1"
}
],
"msg": ""
}