Home
WaaS
OKX Wallet integration
Introduction
What is WaaS
Service architecture
Preparation
Available Networks
Wallet API
Introduction
Quickstart
API reference
SDK reference
Best Practices
Resources
DEX API
Introduction
Quick start
Swap API
API reference
Get supported chains
Get tokens
Get liquidity sources
Get allowance
Approve transactions
Get quotes
Swap
Smart contract
Error codes
FAQ
Cross-chain API
Limit order API
DEX iFrame
Marketplace API
Introduction
Market API
Ordinals API
Error codes
DeFi API
Introduction
Quickstart
API reference
Error code
More resources
General specification
OKX-ord node
Changelog
DEX API
WaaS
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
Get allowance
Get tokens that are allowed to be spent on the OKX router
Approve transactions
Generate the relevant data for calling the contract
Get quotes
Get the best quote for a swap through OKX DEX
Swap
Generate the data for calling the OKX DEX router to swap