POSTgetblockheader
https://bitcoin-mainnet.nodit.io/Returns the header of the block with the given block hash.
Set verbose to false to return the serialized header as a hex-encoded string.
It contains following parameters in order:
blockhash: The hash of the block to look up, as a string. (required)verbose: The response format, as a boolean. (optional, defaulttrue)true: Returns a JSON object.false: Returns the serialized header as a hex-encoded string.
The hash of the block to look up.
Whether to return a JSON object. When false, a hex-encoded string is returned.
The block hash, identical to the value provided in the request.
The number of confirmations, or -1 if the block is not on the main chain.
The block height.
The block version.
The block version in hexadecimal.
The merkle root of the transactions in the block.
The block time expressed in UNIX epoch time.
The median time of the preceding 11 blocks, expressed in UNIX epoch time.
The nonce used for proof of work.
nBits, the compact representation of the block difficulty target.
The difficulty target, in hexadecimal.
The difficulty of the block.
The expected number of hashes required to produce the current chain, in hexadecimal.
The number of transactions in the block.
The hash of the previous block.
The hash of the next block.