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.

💡

Compute Unit Value: 5 (fixed)


👍

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 & Networks

Protocol Network Path Parameter Get Block By
Algorand Mainnet algorand/mainnet block number
Avalanche Mainnet avalanche/mainnet-c block number or hash
Testnet avalanche/testnet-c
Bitcoin Mainnet bitcoin/mainnet block number or hash
Testnet bitcoin/testnet
Testnet4 bitcoin/testnet4
Bitcoincash Mainnet bitcoincash/mainnet block number or hash
Testnet bitcoincash/testnet
Dogecoin Mainnet dogecoin/mainnet block number or hash
Testnet dogecoin/testnet
Ethereum Mainnet ethereum/mainnet block number or hash
Holesky ethereum/holesky
Sepolia ethereum/sepolia
Hoodi ethereum/hoodi
Litecoin Mainnet litecoin/mainnet block number or hash
Testnet litecoin/testnet
Near Mainnet near/mainnet block number
Optimism Mainnet optimism/mainnet block number or hash
Polkadot Mainnet polkadot/mainnet block number or hash
Westend polkadot/westend
Polygon Mainnet polygon/mainnet block number or hash
Amoy polygon/amoy
Solana Mainnet solana/mainnet block number
Testnet solana/testnet
Stellar Mainnet stellar/mainnet block number
Testnet stellar/testnet
Tezos Mainnet tezos/mainnet block number or hash
XRP Mainnet xrp/mainnet block number or hash
Language
Credentials
URL
Click Try It! to start a request and see the response here!