# Blockchain info Returns an object containing various state info regarding block chain processing. Note that when the chain tip is at the last block before a network upgrade activation, consensus.chaintip != consensus.nextblock. Endpoint: GET /daemon/getblockchaininfo Version: 6.6.1 ## Response 200 fields (application/json): - `status` (string) Explanation of status Enum: "success", "error" - `data` (object) - `data.chain` (string) Current network name as defined in BIP70 (main, test, regtest) - `data.blocks` (integer) The current number of blocks processed in the server - `data.headers` (integer) The current number of headers we have validated - `data.bestblockhash` (string) The hash of the currently best block - `data.difficulty` (number) The current difficulty - `data.verificationprogress` (number) Estimate of verification progress - `data.chainwork` (string) Total amount of work in active chain, in hexadecimal - `data.pruned` (boolean) True if chain has been pruned - `data.size_on_disk` (integer) The estimated size of the block and undo files on disk - `data.commitments` (integer) Number of commitments - `data.valuePools` (array) - `data.valuePools.id` (string) Name of pool - `data.valuePools.monitored` (boolean) Monitor status - `data.valuePools.chainValue` (number) Value of FLUX - `data.valuePools.chainValueZat` (integer) Value of FLUX - `data.softforks` (array) - `data.softforks.id` (string) Name of softfork - `data.softforks.version` (integer) Block version - `data.softforks.enforce` (object) - `data.softforks.enforce.status` (boolean) True if threshold reached - `data.softforks.enforce.found` (integer) Number of blocks with the new version found - `data.softforks.enforce.required` (integer) Number of blocks required to trigger - `data.softforks.enforce.window` (integer) Maximum size of examined window of recent blocks - `data.softforks.reject` (object) - `data.upgrades` (object) - `data.upgrades.76b809bb` (object) - `data.upgrades.76b809bb.name` (string) Name of upgrade - `data.upgrades.76b809bb.activationheight` (integer) Activation block height - `data.upgrades.76b809bb.status` (string) Status of upgrade - `data.upgrades.76b809bb.info` (string) Additional info of upgrade - `data.consensus` (object) - `data.consensus.chaintip` (string) Branch ID used to validate the current chain tip - `data.consensus.nextblock` (string) Branch ID that the next block will be validated under