/api/v1/blocks/{hashOrNumber} REST API Endpoint
Path Parameters
hashOrNumber
string
REQUIRED
Accepts both eth and hedera hash format or block number
Returns
count
integer
The number of transactions included in the block
hapi_version
string
The version of the Hedera API used
hash
string
The cryptographic hash of the block
name
string
The name of the file containing the block data
number
integer
The block number
previous_hash
string
The cryptographic hash of the previous block
size
integer
The size of the block in bytes
timestamp
object
An object indicating the time range during which the block was created
from
string
The starting timestamp of the block
to
string
The ending timestamp of the block
gas_used
integer
The amount of gas used by the transactions in the block
logs_bloom
string
The logs bloom filter for the block
Request
1curl 'https://docs-demo.hedera-testnet.quiknode.pro/api/v1/blocks/77'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free