get https://api.tatum.io/v4/data/defi/blocks
10 credits per API call
Get information about blocks (when they were added, block hashes and list of transaction hashes that were processed within them) on the following blockchains:
- Ethereum - ethereum-mainnet / ethereum-sepolia / ethereum-holesky
- Base - base-mainnet / base-sepolia
- Arbitrum - arb-one-mainnet / arb-testnet
- BNB (Binance) Smart Chain - bsc-mainnet / bsc-testnet
- Polygon - polygon-mainnet
- Optimism - optimism-mainnet / optimism-testnet
- Celo - celo-mainnet / celo-testnet
- Chiliz - chiliz-mainnet
To get started, provide a chain and specify one of the filters listed below (combination of these filters is not allowed):
- List of block numbers separated by comma
- Range of block numbers
- Date range when blocks were processed
- When you are filtering data using blockFrom and not using blockTo, blockTo is automatically added as blockFrom + 1000. The same applies when blockTo is present and blockFrom is not. In that case blockFrom is automatically added as blockTo - 1000.