Blocks API
Overview
blocks-api

Overview

Blocks API is a solution that allows the user to obtain data on the latest block or multiple blocks by range. The API is divided into two endpoints: Get Latest Block and Get Blocks.

A successful request includes information on block hash, parent hash, block number, block timestamp, gas, burnt fees, difficulty, logs bloom, uncles, etc. When making a request to the Get Blocks endpoint, it's mandatory to specify the block range respectively either by block_number, timestamp, or block_hash. For the Get Latest Block endpoint, you have to specify only chainId and version.

Endpoints

Availability

Blockchain NetworkAvailability
Ethereum Mainnet
BNB Smart Chain Mainnet
Polygon PoS
Polygon zkEVM
Avalanche C-Chain
Arbitrum One
Metis Andromeda
Ethereum Sepolia
Ethereum Holešky
BNB Smart Chain Testnet
opBNB Testnet
Arbitrum Sepolia
Polygon Amoy