OKX OSDApp Connect Wallet
Dev portal
Theme
Introduction
What is OKX OS
Preparations
Supported Networks
Wallet API
Introduction
Quick Start
On-chain Information Query
Wallet Account Management
Transaction Broadcasting
Signature SDK
Resources
DEX API
Introduction
Build swap applications
Swap API
DEX cross-chain
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
Limit order API
DEX Widget
Marketplace API
Introduction
Runes API
API reference
Ordinals API
Fractal Ordinals API
Error codes
DeFi API
Introduction
Quickstart
API reference
Error code
More resources
General specificationApply to display DAppsApp Universal LinkChangelogOKX Web3 Build User Agreement
DEX API
DEX API

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
PreviousCross-chain APIUp nextGet supported chains