v1
latestOpenAPI 3.0.32026-07-173986194.3 KBReturns a list of Runtime blocks.
get/{runtime}/blocks
Path parameters
runtime'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' required
The runtime which to query.
Query parameters
limitinteger
The maximum numbers of items to return.
offsetinteger
The number of items to skip before starting to collect the result set.
frominteger
A filter on minimum block height, inclusive.
tointeger
A filter on maximum block height, inclusive.
afterstring date-time
A filter on minimum block time, inclusive.
beforestring date-time
A filter on maximum block time, exclusive.
hashstring
A filter on the block hash.
Response
A JSON object containing a list of Runtime blocks.
Example response
{
"total_count": 412,
"is_total_count_clipped": true,
"blocks": [
{
"round": 3283246,
"hash": "21c243cd34bedfc234f1b45615d10a868f0655f59578f063a7d2fc8c6e5b4009",
"timestamp": "2022-10-15T00:05:34Z",
"num_transactions": 1,
"size": 203,
"gas_used": 118597
}
]
}