Parameters
Returns
- resultobject
The blockchain information object
- chainstring
The name of the current network (main, test, regtest)
- blocksinteger
The height of the most-work fully-validated chain
- headersinteger
The current number of headers validated
- bestblockhashstring
The hash of the current best block
- difficultynumber
The difficulty of the highest height block
- mediantimeinteger
The median time for the current best block
- verificationprogressnumber
An estimate of verification progress [0..1]
- initialblockdownloadboolean
Whether this node is in Initial Block Download mode
- chainworkstring
Total amount of work in active chain in hexadecimal form
- size_on_diskinteger
The estimated size of the block and undo files on disk
- prunedboolean
Whether the blocks are subject to pruning
- warningsstring
Network and blockchain warnings
- upgrade_statusobject
Status and activation details for the next scheduled network upgrade.
- namestring
Name of the next scheduled network upgrade.
- mempool_activatedboolean
Whether the upgrade rules are active for mempool transactions.
- mempool_activation_mtpinteger
Median-time-past threshold for activating the upgrade rules in the mempool.
- block_preactivation_heightinteger | null
Height of the preactivation block, or null before one is identified.
- block_preactivation_hashstring | null
Hash of the preactivation block, or null before one is identified.
- block_postactivation_heightinteger | null
Height of the postactivation block, or null before one is identified.
- block_postactivation_hashstring | null
Hash of the postactivation block, or null before one is identified.
- software_expiration_timeinteger
Unix timestamp when this node software expires.
- errorobject | null
JSON-RPC error object when the request failed, or null on success
- idinteger
The JSON-RPC request identifier
1{2"result": {3"chain": "main",4"blocks": 936616,5"headers": 936616,6"bestblockhash": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",7"difficulty": 927738151982.1313,8"mediantime": 1770076209,9"verificationprogress": 0.9999939794090871,10"initialblockdownload": false,11"chainwork": "000000000000000000000000000000000000000002bf043116caf4258f2207ec",12"size_on_disk": 244367332105,13"pruned": false,14"warnings": "",15"upgrade_status": {16"name": "May 2027 Upgrade (mainnet)",17"mempool_activated": false,18"mempool_activation_mtp": 1810382400,19"block_preactivation_height": null,20"block_preactivation_hash": null,21"block_postactivation_height": null,22"block_postactivation_hash": null,23"software_expiration_time": 181038240024}25},26"error": null,27"id": 128}
1{2"result": {3"chain": "main",4"blocks": 936616,5"headers": 936616,6"bestblockhash": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",7"difficulty": 927738151982.1313,8"mediantime": 1770076209,9"verificationprogress": 0.9999939794090871,10"initialblockdownload": false,11"chainwork": "000000000000000000000000000000000000000002bf043116caf4258f2207ec",12"size_on_disk": 244367332105,13"pruned": false,14"warnings": "",15"upgrade_status": {16"name": "May 2027 Upgrade (mainnet)",17"mempool_activated": false,18"mempool_activation_mtp": 1810382400,19"block_preactivation_height": null,20"block_preactivation_hash": null,21"block_postactivation_height": null,22"block_postactivation_hash": null,23"software_expiration_time": 181038240024}25},26"error": null,27"id": 128}