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
Swap
Generate the data for calling the OKX DEX router to swap