Smart contract#
The contract addresses of OKX DEX router and ABI
Contract address#
The contract addresses of the DEX router and token approval may be subject to replacement due to contract upgrades. To ensure uninterrupted use of the API, we recommend using the contract addresses returned by the response parameters: /approve-transaction
API and /swap
API for approvals and transactions.
DEX router#
The contract addresses of OKX DEX router.Ton and Solana chains do not require authorization.
Chain | DEX router address |
---|---|
Ethereum | 0x7D0CcAa3Fac1e5A943c5168b6CEd828691b46B36 |
Solana | 6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma |
SUI | 0x3b6c18953596cbd2e3f7d5878126085a2ee56236e6363c9b0c6c81b8a0f87d1c |
Tron | TCkwEw4NdkaTJ1atJg5jZ18NgtHfpzZTC5 |
Ton | EQBjfOGw4Iq6FYZplhwZ5rRNb7Htac7WJh8g_eQcGTswxVqP |
zkSync Era | 0xb9061E38FeE7d30134F56aEf7117E2F6d1580666 |
Optimism | 0xf332761c673b59B21fF6dfa8adA44d78c12dEF09 |
Polygon | 0xA748D6573acA135aF68F2635BE60CB80278bd855 |
BNB Chain | 0x9333C74BDd1E118634fE5664ACA7a9710b108Bab |
OKC | 0xf6Aab105CB9e66e03CAD2c2F3f8558242593385c |
Avalanche C | 0x1daC23e41Fc8ce857E86fD8C1AE5b6121C67D96d |
Fantom | 0xf332761c673b59B21fF6dfa8adA44d78c12dEF09 |
Arbitrum | 0xf332761c673b59B21fF6dfa8adA44d78c12dEF09 |
Linea | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Conflux eSpace | 0x0112bc6fDB78345e612B862a6B388FfeB00E2320 |
Base | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Mantle | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Scroll | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Manta | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Metis | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Blast | 0x2E86f54943faFD2cB62958c3deed36C879e3E944 |
Zeta | 0x0DaB5A5294AfAae76Ce990993fC10b896A01DBd1 |
Polygon zkEvm | 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58 |
Merlin | 0x127a986cE31AA2ea8E1a6a0F0D5b7E5dbaD7b0bE |
X Layer | 0x127a986cE31AA2ea8E1a6a0F0D5b7E5dbaD7b0bE |
Token approval#
A list of smart contracts for ERC-20 token approval
Chain | Approval contract address |
---|---|
Ethereum | 0x40aA958dd87FC8305b97f2BA922CDdCa374bcD7f |
Tron | THRAE2VhGNAcvPKtT96AqyXtSQwhiU1XL8 |
zkSync Era | 0xc67879F4065d3B9fe1C09EE990B891Aa8E3a4c2f |
Optimism | 0x68D6B739D2020067D1e2F713b999dA97E4d54812 |
Polygon | 0x3B86917369B83a6892f553609F3c2F439C184e31 |
BNB Chain | 0x2c34A2Fb1d0b4f55de51E1d0bDEfaDDce6b7cDD6 |
OKC | 0x70cBb871E8f30Fc8Ce23609E9E0Ea87B6b222F58 |
Avalanche C | 0x40aA958dd87FC8305b97f2BA922CDdCa374bcD7f |
Fantom | 0x70cBb871E8f30Fc8Ce23609E9E0Ea87B6b222F58 |
Arbitrum | 0x70cBb871E8f30Fc8Ce23609E9E0Ea87B6b222F58 |
Linea | 0x57df6092665eb6058DE53939612413ff4B09114E |
Conflux eSpace | 0x68D6B739D2020067D1e2F713b999dA97E4d54812 |
Base | 0x57df6092665eb6058DE53939612413ff4B09114E |
Mantle | 0x57df6092665eb6058DE53939612413ff4B09114E |
Scroll | 0x57df6092665eb6058DE53939612413ff4B09114E |
Manta | 0x57df6092665eb6058DE53939612413ff4B09114E |
Metis | 0x57df6092665eb6058DE53939612413ff4B09114E |
Blast | 0x5fD2Dc91FF1dE7FF4AEB1CACeF8E9911bAAECa68 |
Zeta | 0x03B5ACdA01207824cc7Bc21783Ee5aa2B8d1D2fE |
Polygon zkEvm | 0x57df6092665eb6058DE53939612413ff4B09114E |
Merlin | 0x8b773D83bc66Be128c60e07E17C8901f7a64F000 |
X Layer | 0x8b773D83bc66Be128c60e07E17C8901f7a64F000 |
The Application Binary Interface of Contract (ABI)#
Please refer to: https://github.com/okx/OKX-DEX-Aggregator-ABI
Table of contents