Get a Block Identifier by Number of Hash

Get the minimal block data, block header, by a user-defined block number or block hash.

Use -1 or current parameter to return the current block.


👍

START HERE!

Click Try It! to test the endpoint with the default values or customize your request by following these steps:

  1. Enter your API key in the Header: token text box (top right).
  2. Enter the parameters available below.
  3. Click Try It!.

Supported Protocols and Networks

ProtocolNetworkPath ParametersGet Block By
AlgorandMainnetalgorand/mainnetblock number
AvalancheMainnet
Testnet
avalanche/mainnet-c
avalanche/testnet-c
block number or hash
BitcoinMainnet
Testnet
bitcoin/mainnet
bitcoin/testnet
block number or hash
BitcoincashMainnet
Testnet
bitcoincash/mainnet
bitcoincash/testnet
block number or hash
DogecoinMainnet
Testnet
dogecoin/mainnet
dogecoin/testnet
block number or hash
EthereumMainnet
Holesky
Sepolia
ethereum/mainnet
ethereum/holesky
ethereum/sepolia
block number or hash
FantomMainnet
Testnet
fantom/mainnet
fantom/testnet
block number or hash
LitecoinMainnet
Testnet
litecoin/mainnet
litecoin/testnet
block number or hash
NEARMainnetnear/mainnetblock number
OptimismMainnetoptimism/mainnetblock number or hash
PolkadotMainnet
Westend
polkadot/mainnet
polkadot/westend
block number or hash
PolygonMainnet
Amoy
polygon/mainnet
polygon/amoy
block number or hash
SolanaMainnet
Testnet
solana/mainnet
solana/testnet
block number
StellarMainnetstellar/mainnetblock number
TezosMainnettezos/mainnetblock number or hash
XRPMainnetxrp/mainnetblock number or hash
Language
Credentials
URL
Click Try It! to start a request and see the response here!