/api/v1/blocks REST API Endpoint
Query Parameters
block.number
string
The block's number
limit
integer
The maximum number of items to return
order
string
The order in which items are listed (asc, desc)
timestamp
array
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator
Returns
blocks
array
An array of objects, each representing a block on the Hedera network
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
links
object
An object containing pagination links
next
string
The URL for the next set of results if available
Request
1curl 'https://docs-demo.hedera-testnet.quiknode.pro/api/v1/blocks'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free