Introduction#
Welcome to the OKX Web3 DeFi API developer guide. Our API provides a range of data interface services specifically designed for DeFi scenarios, aiming to provide developers with a user-friendly experience in creating projects.
Supported networks#
chainId: A unique identifier custom-defined by OKX Web3 DeFi, which may differ from the chainId specified in EIP-155.
realChainId: The chainId specified in EIP-155.
Blockchain network | chainId | realChainId | Support |
---|---|---|---|
Bitcoin Mainnet | 0 | Supported | |
Ethereum Mainnet | 1 | 1 | Supported |
OP Mainnet | 10 | 10 | Supported |
BNB Smart Chain Mainnet | 56 | Supported | |
OKT Chain | 66 | 66 | Supported |
Gnosis | 100 | 100 | Supported |
Polygon Mainnet | 137 | 137 | Supported |
Manta Pacific Mainnet | 169 | 169 | Supported |
opBNB Mainnet | 204 | 204 | Supported |
Fantom Opera | 250 | 250 | Supported |
zkSync Era Mainnet | 324 | 324 | Supported |
Polygon zkEVM | 1101 | 1101 | Supported |
Core Blockchain Mainnet | 1116 | 1116 | Supported |
Mantle | 5000 | 5000 | Supported |
Base | 8453 | 8453 | Supported |
Arbitrum One | 42161 | 42161 | Supported |
Avalanche C-Chain | 43114 | 43114 | Supported |
Tron | 195 | Coming soon | |
Solana | 501 | Coming soon | |
Sui | 784 | Coming soon | |
Stacks | 5757 | Coming soon | |
Scroll | 534352 | 534352 | Coming soon |
Table of contents