POSTgetblockchaininfo
https://bitcoin-mainnet.nodit.io/Returns an object containing various state information regarding blockchain processing. It includes the network name, the block height, the best block hash, the difficulty target, the verification progress and the pruning settings.
This method takes no parameters. Pass an empty array.
The current network name. Returns one of main, test, testnet4, signet or regtest.
예: main
The height of the most-work fully-validated chain. The genesis block has height 0.
The current number of validated headers.
The hash of the current best block.
nBits, the compact representation of the block difficulty target.
The difficulty target, in hexadecimal.
The current difficulty.
The time of the current best block, expressed in UNIX epoch time.
The median time of the current best block, expressed in UNIX epoch time.
An estimate of the verification progress. The value ranges from 0 to 1.
Whether the node is in Initial Block Download (IBD) mode.
The total amount of work in the active chain, in hexadecimal.
The estimated size of the block and undo files on disk, in bytes.
Whether the blocks are subject to pruning.
The height of the last block pruned, plus one. Returned only when pruning is enabled.
Whether automatic pruning is enabled. Returned only when pruning is enabled.
The target size used by pruning, in bytes. Returned only when automatic pruning is enabled.
The block challenge of the signet network, in hexadecimal. Returned only on signet.
The list of network and blockchain warnings.