v1
latestOpenAPI 3.1.02026-07-24223580832.9 KBBlocks
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.
get/{protocol}/{network}/block_identifier/{block_identifier}
Path parameters
protocolstring required
Protocol handle, one of: algorand, avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, near, optimism, polkadot, polygon, solana, stellar, tezos, xrp.
networkstring required
Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
block_identifierstring required
The block identifier, hash or number.
Response
Block
Example response
{
"number": 8000000,
"id": "0x123456070D674D44a7F9cb4Ab272bd88fAd004b5",
"parent_id": "0xfcf029ffd36a6714aae09dcc7acbdd8f2b96327f",
"date": 1571222657,
"num_txs": 10
}