DeFi API
Introduction

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 networkchainIdrealChainIdSupport
Bitcoin Mainnet0Supported
Ethereum Mainnet11Supported
OP Mainnet1010Supported
BNB Smart Chain Mainnet56Supported
OKT Chain6666Supported
Gnosis100100Supported
Polygon Mainnet137137Supported
Manta Pacific Mainnet169169Supported
opBNB Mainnet204204Supported
Fantom Opera250250Supported
zkSync Era Mainnet324324Supported
Polygon zkEVM11011101Supported
Core Blockchain Mainnet11161116Supported
Mantle50005000Supported
Base84538453Supported
Arbitrum One4216142161Supported
Avalanche C-Chain4311443114Supported
Tron195Coming soon
Solana501Coming soon
Sui784Coming soon
Stacks5757Coming soon
Scroll534352534352Coming soon
Table of contents