DeFi API
What is the DeFi API?​
The DeFi API enables Web3 developers to quickly get liquidity reserves and pair data across multiple blockchains, in order to help them build and scale their dapps efficiently.
DeFi API Features​
The DeFi API provides the following functionality out of the box to power the dapps you are building:
- Fetch the liquidity reserves for a given pair address AMMs (Uniswap-based).
- Fetch the pair address of a given token addresses from AMMs (Uniswap-based).
Supported Chains​
The DeFi API supports multiple EVM chains:
Supported Chains
See the table below for all supported RPC Nodes. For wider chains we support across all products, check the full list of supported chains.
Name | Type | Chain ID | EvmChain | chain Query Parameters |
---|---|---|---|---|
Ethereum Mainnet | Mainnet | 0x1 (1) | EvmChain.ETHEREUM |
|
Ethereum Sepolia | Testnet | 0xaa36a7 (11155111) | EvmChain.SEPOLIA |
|
Ethereum Holesky | Testnet | 0x4268 (17000) | EvmChain.HOLESKY |
|
Polygon Mainnet | Mainnet | 0x89 (137) | EvmChain.POLYGON |
|
Polygon Amoy | Testnet | 0x13882 (80002) | EvmChain.POLYGON_AMOY |
|
Binance Smart Chain Mainnet | Mainnet | 0x38 (56) | EvmChain.BSC |
|
Binance Smart Chain Testnet | Testnet | 0x61 (97) | EvmChain.BSC_TESTNET |
|
Arbitrum | Mainnet | 0xa4b1 (42161) | EvmChain.ARBITRUM |
|
Base | Mainnet | 0x2105 (8453) | EvmChain.BASE |
|
Base Sepolia | Testnet | 0x14a34 (84532) | EvmChain.BASE_SEPOLIA |
|
Optimism | Mainnet | 0xa (10) | EvmChain.OPTIMISM |
|
NewLinea | Mainnet | 0xe708 (59144) | EvmChain.LINEA |
|
NewLinea Sepolia | Testnet | 0xe705 (59141) | EvmChain.LINEA_SEPOLIA |
|
Avalanche | Mainnet | 0xa86a (43114) | EvmChain.AVALANCHE |
|
Fantom Mainnet | Mainnet | 0xfa (250) | EvmChain.FANTOM |
|
Cronos Mainnet | Mainnet | 0x19 (25) | EvmChain.CRONOS |
|
Palm | Mainnet | 0x2a15c308d (11297108109) | EvmChain.PALM |
|
Gnosis | Mainnet | 0x64 (100) | EvmChain.GNOSIS |
|
Gnosis Chiado | Testnet | 0x27d8 (10200) | EvmChain.GNOSIS_TESTNET |
|
Chiliz Mainnet | Mainnet | 0x15b38 (88888) | EvmChain.CHILIZ |
|
Chiliz Testnet | Testnet | 0x15b32 (88882) | EvmChain.CHILIZ_TESTNET |
|
NewMoonbeam | Mainnet | 0x504 (1284) | EvmChain.MOONBEAM |
|
NewMoonriver | Testnet | 0x505 (1285) | EvmChain.MOONRIVER |
|
NewMoonbase | Testnet | 0x507 (1287) | EvmChain.MOONBASE |
|
NewFlow | Mainnet | 0x2eb (747) | EvmChain.FLOW |
|
NewFlow Testnet | Testnet | 0x221 (545) | EvmChain.FLOW_TESTNET |
|