Blockchain API
What is the Block API?
The Blockchain API enables Web3 developers to quickly get data on specific blocks across multiple blockchains, in order to help them build and scale their dapps efficiently.
Block API Features
The Blockchain API provides the following functionality out of the box to power the dapps you are building:
- fetching the contents of a block given the block hash
- fetching the closest block given the date
Plus so much more!
Popular use cases
The Blockchain API is extremely flexible, meaning it can support a wide range of use cases, including:
- Block Explorer
- Transaction Monitoring
- Log Explorers
- Wallet Activity
Supported chains
The Blockchain API supports multiple EVM chains:
Name | Chain Id (Int) | Chain Id (Hex) | EvmChain | Type |
---|---|---|---|---|
Ethereum Mainnet | 1 | 0x1 | EvmChain.ETHEREUM | Mainnet |
Ethereum Görli | 5 | 0x5 | EvmChain.GOERLI | Testnet |
Ethereum Sepolia | 11155111 | 0xaa36a7 | EvmChain.SEPOLIA | Testnet |
Polygon Mainnet | 137 | 0x89 | EvmChain.POLYGON | Mainnet |
Polygon Mumbai | 80001 | 0x13881 | EvmChain.MUMBAI | Testnet |
Binance Smart Chain Mainnet | 56 | 0x38 | EvmChain.BSC | Mainnet |
Binance Smart Chain Testnet | 97 | 0x61 | EvmChain.BSC_TESTNET | Testnet |
Avalanche C-Chain | 43114 | 0xa86a | EvmChain.AVALANCHE | Mainnet |
Fantom | 250 | 0xfa | EvmChain.FANTOM | Mainnet |
Cronos Mainnet | 25 | 0x19 | EvmChain.CRONOS | Mainnet |
Palm | 11297108109 | 0x2a15c308d | EvmChain.PALM | Mainnet |
Arbitrum | 42161 | 0xa4b1 | EvmChain.ARBITRUM | Mainnet |
Gnosis | 100 | 0x64 | EvmChain.GNOSIS | Mainnet |
Gnosis Chiado | 10200 | 0x27d8 | EvmChain.GNOSIS_CHIADO | Testnet |