Skip to main content

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

Loading...

Updated on
May 12, 2025

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

Path Parameters

chainName
string
REQUIRED
Loading...
blockHeight
string
REQUIRED
Loading...

Returns

data
object
Loading...
updated_at
string
Loading...
chain_id
integer
Loading...
chain_name
string
Loading...
items
array
Loading...
block_hash
string
Loading...
signed_at
string
Loading...
height
integer
Loading...
block_parent_hash
string
Loading...
extra_data
string
Loading...
miner_address
string
Loading...
mining_cost
integer
Loading...
gas_used
integer
Loading...
gas_limit
integer
Loading...
transactions_link
string
Loading...
error
boolean
Loading...
error_message
string
Loading...
error_code
string
Loading...
Request
1
curl --location 'https://api.covalenthq.com/v1/eth-mainnet/block_v2/18901757/' \
2
--header 'Content-Type: application/json' \
3
--header 'Authorization: Bearer YOUR_API_KEY'
Response
1
{
2
"data": {
3
"updated_at": "2025-04-29T21:27:59.887538590Z",
4
"chain_id": 1,
5
"chain_name": "eth-mainnet",
6
"items": [
7
{
8
"block_hash": "0xccd0eadabcbfd17a9647f30ef07d3ab8983d217743c233301c7a2fbb6776b2d2",
9
"signed_at": "2023-12-30T23:59:59Z",
10
"height": 18901757,
11
"block_parent_hash": "0xe026f0fd1843911c9c519d4505896cddfeb15210ee0e6a3fc99d7c680309f68a",
12
"extra_data": "beaverbuild.org",
13
"miner_address": "0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5",
14
"mining_cost": 0,
15
"gas_used": 22010000,
16
"gas_limit": 30000000,
17
"transactions_link": "https://api.covalenthq.com/v1/eth-mainnet/block_hash/0xccd0eadabcbfd17a9647f30ef07d3ab8983d217743c233301c7a2fbb6776b2d2/transactions_v3/"
18
}
19
],
20
"pagination": null
21
},
22
"error": false,
23
"error_message": null,
24
"error_code": null
25
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free