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