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