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
Cross-chain API
Limit order API
API reference
Get supported chainsGet allowanceApprove transactionsGet tokensCreate limit orderLimit order listCancellation of limit order calldataQuery limit order
Smart contractError codesFAQ
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
Limit order API
API reference

API reference#

Get supported chains
Obtain information about chain IDs
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 tokens
Get tokens available for swap in the OKX aggregation protocol
Create limit order
Create a DEX limit order
Limit order list
Query list of DEX limit order
Cancellation of limit order calldata
Get calldata of cancel limit order
Query limit order
Query detail of DEX limit order
Limit order API
Get supported chains