Get Address API Supported Chains#
Retrieve the chains supported by each Address API endpoint. Each response row represents one API-chain pair.
Request URL#
GET
https://web3.okx.com/api/v6/explorer/address/supported-chainsRequest Parameters#
None.
Response Parameters#
| Parameter | Type | Description |
|---|---|---|
| apiName | String | Module-local API name without the address/ prefix, e.g., address-active-chain. |
| chainIndex | String | Unique identifier of the chain, e.g., 1 for Ethereum. |
| chainName | String | Chain name, e.g., Ethereum. |
| chainSymbol | String | Native token symbol, e.g., ETH. |
Request Example#
shell
curl --location --request GET 'https://web3.okx.com/api/v6/explorer/address/supported-chains' \
--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",
"msg": "",
"data": [
{
"apiName": "address-active-chain",
"chainIndex": "1",
"chainName": "Ethereum",
"chainSymbol": "ETH"
},
{
"apiName": "information-evm",
"chainIndex": "1",
"chainName": "Ethereum",
"chainSymbol": "ETH"
}
]
}
