Get the List of Tokens Pairs Supported by the Cross-Chain Bridge#
List of tokens pairs available for trading directly across the cross-chain bridge.
Request URL#
GET https://web3.okx.com/api/v5/dex/cross-chain/supported/bridge-tokens-pairs
Request Parameters#
Parameter | Type | Required | Description |
---|---|---|---|
fromChainIndex | String | No | Unique identifier for the chain. e.g., 1 : Ethereum. See more here. |
fromChainId | String | No | Unique identifier for the chain. It will be deprecated in the future. |
Response Parameters#
Parameter | Type | Description |
---|---|---|
fromChainIndex | String | Source Chain ID. |
toChainIndex | String | Destination Chain ID. |
fromChainId | String | Source Chain ID. |
toChainId | String | Destination Chain ID. |
fromTokenAddress | String | The contract address of a token to be sold (e.g., 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE ) |
toTokenAddress | String | The contract address of a token to be bought (e.g., TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8 ) |
fromTokenSymbol | String | Source Chain Token symbol (e.g.,USDT ) |
toTokenSymbol | String | Destination Chain Token symbol (e.g.,USDT ) |
Request Example#
shell
curl --location --request GET 'https://web3.okx.com/api/v5/dex/cross-chain/supported/bridge-tokens-pairs?fromChainIndex=784' \
--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": [
{
"fromChainIndex": "1",
"toChainIndex": "10",
"fromChainId": "1",
"toChainId": "10",
"fromTokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"toTokenAddress": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
"fromTokenSymbol": "USDC",
"toTokenSymbol": "USDC"
}
],
"msg": ""
}