Skip to main content

v1/{chainName}/block_v2/{startDate}/{endDate}/ REST API Endpoint - GoldRush Wallet API

Get all the block heights within a particular date range. Useful for rendering a display where you sort blocks by day.

Updated on
May 21, 2026

Path Parameters

chainName
string

The blockchain name to query (e.g., eth-mainnet, bsc-mainnet)

startDate
string

The start date for the block query in YYYY-MM-DD format

endDate
string

The end date for the block query in YYYY-MM-DD format

Query Parameters

page-size
integer

The number of results to return per page

page-number
integer

The page number to retrieve

Returns

data
object

The main response data object

updated_at
string

The timestamp indicating the last update time of the data

chain_id
integer

The unique identifier for the blockchain

chain_name
string

The name of the blockchain (e.g., 'eth-mainnet')

items
array

The list of block items

block_hash
string

The unique hash of the block

signed_at
string

The timestamp when the block was signed

height
integer

The block height in the blockchain

block_parent_hash
string

The hash of the parent block

extra_data
string

The additional data stored in the block

miner_address
string

The address of the miner who mined the block

mining_cost
integer

The cost of mining the block

gas_used
integer

The gas used in the block

gas_limit
integer

The maximum gas limit for the block

transactions_link
string

The link to the transactions associated with the block

pagination
object

The pagination details for the response

has_more
boolean

The flag indicating if there are more pages of data

page_number
integer

The current page number

page_size
integer

The number of items per page

total_count
integer

The total number of items (nullable)

error
boolean

The flag indicating if an error occurred

error_message
string

The error message if an error occurred

error_code
integer

The error code if an error occurred

Request
Response
1
{
2
"data": {
3
"updated_at": "2025-04-30T17:30:42Z",
4
"chain_id": 1,
5
"chain_name": "eth-mainnet",
6
"items": [
7
{
8
"block_hash": "0x6540cf8572cafec8a69b57a5d5e93cfee21c30d548829b2c6a289bb315d31ab4",
9
"signed_at": "2023-01-01T00:03:12Z",
10
"height": 16308000,
11
"block_parent_hash": "0x9b6a9a504f0a5adefa59e6d0a324df0b89ffa1b4a48f55b210835452573a1691",
12
"extra_data": "0x6265617665726275696c642e6f7267",
13
"miner_address": "0xea674fdde714fd979de3edf0f56aa9716b898ec8",
14
"mining_cost": 246800000000,
15
"gas_used": 12340000,
16
"gas_limit": 15000000,
17
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_v2/16308000/transactions_v2/"
18
},
19
{
20
"block_hash": "0x33e1cf4b1d4c6a8548bbd165a9016d6092de5fa3df71898dbc06f7ceef4b33a0",
21
"signed_at": "2023-01-01T00:06:24Z",
22
"height": 16308001,
23
"block_parent_hash": "0x6540cf8572cafec8a69b57a5d5e93cfee21c30d548829b2c6a289bb315d31ab4",
24
"extra_data": "0x466c6173682073796e63207061726974792e2052656365697665643a20312c204d69737365643a2030",
25
"miner_address": "0x3ecef08d0e2dad803847e052249bb4f8bff2d5bb",
26
"mining_cost": 234500000000,
27
"gas_used": 11980000,
28
"gas_limit": 15000000,
29
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_v2/16308001/transactions_v2/"
30
},
31
{
32
"block_hash": "0x2a4b7d34b82a4f079c9a99095aa7c469746c3b0b5d02f7dae61d13ffc5348422",
33
"signed_at": "2023-01-01T00:09:36Z",
34
"height": 16308002,
35
"block_parent_hash": "0x33e1cf4b1d4c6a8548bbd165a9016d6092de5fa3df71898dbc06f7ceef4b33a0",
36
"extra_data": "0x48656c69617820762e312e302e30",
37
"miner_address": "0x1ad91ee08f21be3de0ba2ba6918e714da6b45836",
38
"mining_cost": 267300000000,
39
"gas_used": 13650000,
40
"gas_limit": 15000000,
41
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_v2/16308002/transactions_v2/"
42
}
43
],
44
"pagination": {
45
"has_more": true,
46
"page_number": 1,
47
"page_size": 100,
48
"total_count": 53348
49
}
50
},
51
"error": false,
52
"error_message": null,
53
"error_code": null
54
}
1
{
2
"data": {
3
"updated_at": "2025-04-30T17:30:42Z",
4
"chain_id": 1,
5
"chain_name": "eth-mainnet",
6
"items": [
7
{
8
"block_hash": "0x6540cf8572cafec8a69b57a5d5e93cfee21c30d548829b2c6a289bb315d31ab4",
9
"signed_at": "2023-01-01T00:03:12Z",
10
"height": 16308000,
11
"block_parent_hash": "0x9b6a9a504f0a5adefa59e6d0a324df0b89ffa1b4a48f55b210835452573a1691",
12
"extra_data": "0x6265617665726275696c642e6f7267",
13
"miner_address": "0xea674fdde714fd979de3edf0f56aa9716b898ec8",
14
"mining_cost": 246800000000,
15
"gas_used": 12340000,
16
"gas_limit": 15000000,
17
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_v2/16308000/transactions_v2/"
18
},
19
{
20
"block_hash": "0x33e1cf4b1d4c6a8548bbd165a9016d6092de5fa3df71898dbc06f7ceef4b33a0",
21
"signed_at": "2023-01-01T00:06:24Z",
22
"height": 16308001,
23
"block_parent_hash": "0x6540cf8572cafec8a69b57a5d5e93cfee21c30d548829b2c6a289bb315d31ab4",
24
"extra_data": "0x466c6173682073796e63207061726974792e2052656365697665643a20312c204d69737365643a2030",
25
"miner_address": "0x3ecef08d0e2dad803847e052249bb4f8bff2d5bb",
26
"mining_cost": 234500000000,
27
"gas_used": 11980000,
28
"gas_limit": 15000000,
29
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_v2/16308001/transactions_v2/"
30
},
31
{
32
"block_hash": "0x2a4b7d34b82a4f079c9a99095aa7c469746c3b0b5d02f7dae61d13ffc5348422",
33
"signed_at": "2023-01-01T00:09:36Z",
34
"height": 16308002,
35
"block_parent_hash": "0x33e1cf4b1d4c6a8548bbd165a9016d6092de5fa3df71898dbc06f7ceef4b33a0",
36
"extra_data": "0x48656c69617820762e312e302e30",
37
"miner_address": "0x1ad91ee08f21be3de0ba2ba6918e714da6b45836",
38
"mining_cost": 267300000000,
39
"gas_used": 13650000,
40
"gas_limit": 15000000,
41
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_v2/16308002/transactions_v2/"
42
}
43
],
44
"pagination": {
45
"has_more": true,
46
"page_number": 1,
47
"page_size": 100,
48
"total_count": 53348
49
}
50
},
51
"error": false,
52
"error_message": null,
53
"error_code": null
54
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free