Get Supported Bridges#
Get information of the cross-chain bridges supported by OKX’s DEX cross-chain aggregator protocol.
Request URL#
GET https://web3.okx.com/api/v5/dex/cross-chain/supported/bridges
Request Parameters#
Parameter | Type | Required | Description |
---|---|---|---|
chainIndex | String | No | Unique identifier for the chain. e.g., 1 : Ethereum. See more here. |
chainId | String | No | Unique identifier for the chain. It will be deprecated in the future. |
Response Parameters#
Parameter | Type | Required | Description |
---|---|---|---|
bridgeName | String | Yes | Name of bridge (e.g., cBridge ) |
bridgeId | Integer | Yes | Bridge ID (e.g., 211 ) |
requiredOtherNativeFee | boolean | Yes | if this bridge require native fee |
logo | String | Yes | Bridge Logo URL |
supportedChains | Array | Yes | Return chain id that bridge supported |
Request Example#
shell
curl --location --request GET 'https://web3.okx.com/api/v5/dex/cross-chain/supported/bridges' \
--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": [
{
"bridgeId":211,
"bridgeName":"cBridge",
"requireOtherNativeFee": false,
"logoUrl":"...",
"supportedChains": [
"1",
"56",
"137"
]
},
{
"bridgeId":235,
"bridgeName":"swft",
"requireOtherNativeFee": false,
"logoUrl":"...",
"supportedChains": [
"56",
"137",
"43114"
]
}
],
"msg": ""
}