Get blocks from time to time
Get blocks from time to time
Query Parameters
The start time in seconds or a time string ('YYYY-MM-DD hh:mm:ss')
The end time in seconds or a time string ('YYYY-MM-DD hh:mm:ss')
The cursor returned in the previous response (used for getting the next page).
Number of items returned, default: 20
- 200
200 Returns the block number and corresponding date and timestamp
Schema
- Array [
- Array [
- ]
- ]
The cursor returned in the previous response (used for getting the next page)
Page of results
Limit of results
Total returned result items
data object[] required
Blocks
The block size
The difficulty of the block
The total difficulty
The block number
hash
The block hash of the parent block
The nonce
sha3Uncles
logsBloom
transactionsRoot
stateRoot
receiptsRoot
The address of the miner
extraData
The gas limit
The gas used
The timestamp of the block
base fee per gas
[
{
"cursor": "string",
"page": 0,
"limit": 0,
"total_items": 0,
"data": [
{
"size": 500,
"difficulty": 17179869184,
"total_difficulty": 17179869184,
"block": 9193266,
"hash": "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
"parent_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000042",
"sha3_uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logs_bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"transactions_root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"state_root": "0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544",
"receipts_root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"miner": "0x0000000000000000000000000000000000000000",
"extra_data": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"gas_limit": 5000,
"gas_used": 0,
"timestamp": "1687064975",
"base_fee_per_gas": 100
}
]
}
]