DEX APIDApp Connect Wallet
HomeTrade APIMarket APIResources
Introduction
Guides
Build Swap Applications
Build Cross Chain Applications
Swap API
Introduction
API Reference
Adding Fees DEX-IntegrationSmart ContractError CodesFAQ
Cross Chain API
Introduction
API Reference
Get Supported ChainsGet TokensGet the List of Tokens Supported by the Cross-Chain BridgesGet the List of Tokens Pairs Supported by the Cross-Chain BridgeGet Supported BridgesGet Route InformationApprove TransactionsCross-Chain SwapGet Transaction Status
Supported BridgesSmart ContractError CodesFAQ
Onchain Gateway API
Introduction
API Reference
Error Codes
Trade API
DEX API
Trade API
Cross Chain API
API Reference

API Reference#

Get Supported Chains
Get information from chains that support cross-chain transactions
Get Tokens
Get tokens
Get the List of Tokens Supported by the Cross-Chain Bridges
Get token list only trade for bridge
Get the List of Tokens Pairs Supported by the Cross-Chain Bridge
Get the list of tokens pairs supported by chains
Get Supported Bridges
Get information of the cross-chain bridges supported by OKX’s DEX cross-chain aggregator protocole
Get Route Information
Find the best route for a cross-chain swap through OKX’s DEX cross-chain aggregator
Approve Transactions
Generate the relevant data for calling the contract
Cross-Chain Swap
Generate the data to execute a cross-chain swap
Get Transaction Status
Check the final status of the cross-chain swap according to txhash
Introduction
Get Supported Chains