OKX OSDApp Connect Wallet
Introduction
What is OKX OS
Preparation
Supported Networks
Wallet API
Introduction
Quick Start
On-Chain Information Query
Wallet Account Management
Transaction Broadcasting
Signing SDK
Resources
DEX API
Introduction
Quick start
Swap API
API reference
Get Supported ChainsGet tokensGet liquidity sourcesApprove transactionsGet quotesGet Solana swap instructionsSwapQuery Transaction Status
Adding Fees DEX-integrationSmart contractError codesFAQ
Cross-chain API
Limit order API
DEX Widget
Marketplace API
Introduction
Runes API
Market API
BTC 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
OKX OS
DEX API
Swap API
API reference

API reference#

Get Supported Chains
Get chains available that support single-chain transactions
Get tokens
Get tokens available for swap in the OKX aggregation protocol
Get liquidity sources
Get liquidity sources available for swap in the OKX aggregation protocol
Approve transactions
Generate the relevant data for calling the contract
Get quotes
Get the best quote for a swap through OKX DEX
Get Solana swap instructions
Get Solana swap instructions through the OKX DEX
Swap
Generate the data for calling the OKX DEX router to swap
Query Transaction Status
Get swap transaction history through the OKX DEX
Swap API
Get Supported Chains