Get information of the cross-chain bridges supported by OKX’s DEX cross-chain aggregator protocol.
GET https://www.okx.com/api/v5/dex/cross-chain/supported/bridges
Parameter | Type | Required | Description |
---|---|---|---|
chainId | String | No | Chain ID (e.g., 1 for Ethereum. See Chain IDs) |
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 |
supportedChains | Array | Yes | Return chain id that bridge supported |
curl --location --request GET 'https://www.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'
{
"code": "0",
"data": [
{
"bridgeId":211,
"bridgeName":"cBridge",
"requireOtherNativeFee": false,
"supportedChains": [
"1",
"56",
"137"
]
},
{
"bridgeId":235,
"bridgeName":"swft",
"requireOtherNativeFee": false,
"supportedChains": [
"56",
"137",
"43114"
]
}
],
"msg": ""
}