Skip to main content

getblockchaininfo RPC Method

Loading...

Updated on
Apr 29, 2026

getblockchaininfo RPC Method

Parameters

This method does not accept any parameters

Returns

chain
string
Loading...
blocks
integer
Loading...
headers
integer
Loading...
difficulty
number
Loading...
verificationprogress
number
Loading...
chainwork
integer
Loading...
pruned
boolean
Loading...
size_on_disk
integer
Loading...
commitments
integer
Loading...
bestblockhash
string
Loading...
estimatedheight
integer
Loading...
chainSupply
object
Loading...
chainValue
number
Loading...
chainValueZat
integer
Loading...
monitored
boolean
Loading...
valuePools
array
Loading...
id
string
Loading...
chainValue
number
Loading...
chainValueZat
integer
Loading...
monitored
boolean
Loading...
upgrades
object
Loading...
consensus
object
Loading...
chaintip
string
Loading...
nextblock
string
Loading...
error
string
Loading...
Request
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "getblockchaininfo",
6
"params": [],
7
"id": 1
8
}'
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "getblockchaininfo",
6
"params": [],
7
"id": 1
8
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"chain": "main",
6
"blocks": 3323688,
7
"headers": 3323688,
8
"difficulty": 127318833.42730181,
9
"verificationprogress": 0.9999993982591637,
10
"chainwork": 0,
11
"pruned": false,
12
"size_on_disk": 274557320335,
13
"commitments": 0,
14
"bestblockhash": "0000000000e97536c5ffaf405b3bdb2b64340dac3d79260da1bb5e90f69fe3b4",
15
"estimatedheight": 3323690,
16
"chainSupply": {
17
"chainValue": 16682895.4780448,
18
"chainValueZat": 1668289547804480,
19
"monitored": true
20
},
21
"valuePools": [
22
{
23
"id": "transparent",
24
"chainValue": 11473714.30598644,
25
"chainValueZat": 1147371430598644,
26
"monitored": true
27
},
28
{
29
"id": "sprout",
30
"chainValue": 25409.41766914,
31
"chainValueZat": 2540941766914,
32
"monitored": true
33
},
34
{
35
"id": "sapling",
36
"chainValue": 598082.08085128,
37
"chainValueZat": 59808208085128,
38
"monitored": true
39
},
40
{
41
"id": "orchard",
42
"chainValue": 4552447.98603794,
43
"chainValueZat": 455244798603794,
44
"monitored": true
45
},
46
{
47
"id": "lockbox",
48
"chainValue": 33241.6875,
49
"chainValueZat": 3324168750000,
50
"monitored": true
51
}
52
],
53
"upgrades": {
54
"5ba81b19": {
55
"name": "Overwinter",
56
"activationheight": 347500,
57
"status": "active"
58
},
59
"76b809bb": {
60
"name": "Sapling",
61
"activationheight": 419200,
62
"status": "active"
63
},
64
"2bb40e60": {
65
"name": "Blossom",
66
"activationheight": 653600,
67
"status": "active"
68
},
69
"f5b9230b": {
70
"name": "Heartwood",
71
"activationheight": 903000,
72
"status": "active"
73
},
74
"e9ff75a6": {
75
"name": "Canopy",
76
"activationheight": 1046400,
77
"status": "active"
78
},
79
"c2d6d0b4": {
80
"name": "NU5",
81
"activationheight": 1687104,
82
"status": "active"
83
},
84
"c8e71055": {
85
"name": "NU6",
86
"activationheight": 2726400,
87
"status": "active"
88
},
89
"4dec4df0": {
90
"name": "NU6.1",
91
"activationheight": 3146400,
92
"status": "active"
93
}
94
},
95
"consensus": {
96
"chaintip": "4dec4df0",
97
"nextblock": "4dec4df0"
98
}
99
}
100
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"chain": "main",
6
"blocks": 3323688,
7
"headers": 3323688,
8
"difficulty": 127318833.42730181,
9
"verificationprogress": 0.9999993982591637,
10
"chainwork": 0,
11
"pruned": false,
12
"size_on_disk": 274557320335,
13
"commitments": 0,
14
"bestblockhash": "0000000000e97536c5ffaf405b3bdb2b64340dac3d79260da1bb5e90f69fe3b4",
15
"estimatedheight": 3323690,
16
"chainSupply": {
17
"chainValue": 16682895.4780448,
18
"chainValueZat": 1668289547804480,
19
"monitored": true
20
},
21
"valuePools": [
22
{
23
"id": "transparent",
24
"chainValue": 11473714.30598644,
25
"chainValueZat": 1147371430598644,
26
"monitored": true
27
},
28
{
29
"id": "sprout",
30
"chainValue": 25409.41766914,
31
"chainValueZat": 2540941766914,
32
"monitored": true
33
},
34
{
35
"id": "sapling",
36
"chainValue": 598082.08085128,
37
"chainValueZat": 59808208085128,
38
"monitored": true
39
},
40
{
41
"id": "orchard",
42
"chainValue": 4552447.98603794,
43
"chainValueZat": 455244798603794,
44
"monitored": true
45
},
46
{
47
"id": "lockbox",
48
"chainValue": 33241.6875,
49
"chainValueZat": 3324168750000,
50
"monitored": true
51
}
52
],
53
"upgrades": {
54
"5ba81b19": {
55
"name": "Overwinter",
56
"activationheight": 347500,
57
"status": "active"
58
},
59
"76b809bb": {
60
"name": "Sapling",
61
"activationheight": 419200,
62
"status": "active"
63
},
64
"2bb40e60": {
65
"name": "Blossom",
66
"activationheight": 653600,
67
"status": "active"
68
},
69
"f5b9230b": {
70
"name": "Heartwood",
71
"activationheight": 903000,
72
"status": "active"
73
},
74
"e9ff75a6": {
75
"name": "Canopy",
76
"activationheight": 1046400,
77
"status": "active"
78
},
79
"c2d6d0b4": {
80
"name": "NU5",
81
"activationheight": 1687104,
82
"status": "active"
83
},
84
"c8e71055": {
85
"name": "NU6",
86
"activationheight": 2726400,
87
"status": "active"
88
},
89
"4dec4df0": {
90
"name": "NU6.1",
91
"activationheight": 3146400,
92
"status": "active"
93
}
94
},
95
"consensus": {
96
"chaintip": "4dec4df0",
97
"nextblock": "4dec4df0"
98
}
99
}
100
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free