Chain Info
Information about the state of the blockchain.
- 200
General blockchain information
Schema
data object required
Whether automatic pruning is enabled (only present if pruning is enabled)
The hash of the currently best block
The current number of blocks processed in the server
Current network name as defined in BIP70 (main, test, regtest)
Total amount of work in active chain, in hexadecimal
The current difficulty
The current number of headers we have validated
Estimate of whether this node is in Initial Block Download mode
Median time for the current best block
Lowest-height complete block stored (only present if pruning is enabled)
The target size used by pruning (only present if automatic pruning is enabled)
If the blocks are subject to pruning
The estimated size of the block and undo files on disk
softforks object required
Status of softforks in progress
property name* Softfork
bip9 object nullable
statistics object nullable
Possible values: [defined
, started
, locked_in
, active
, failed
]
Estimate of verification progress [0..1]
Any network and blockchain warnings.
last_updated object required
{
"data": {
"automatic_pruning": true,
"bestblockhash": "string",
"blocks": 0,
"chain": "string",
"chainwork": "string",
"difficulty": 0,
"headers": 0,
"initialblockdownload": true,
"mediantime": 0,
"prune_height": 0,
"prune_target_size": 0,
"pruned": true,
"size_on_disk": 0,
"softforks": {},
"verificationprogress": 0,
"warnings": "string"
},
"last_updated": {
"block_hash": "string",
"block_height": 0
}
}