Block header information can be retrieved using either a block's hash or height. This method includes a block's hash as an input parameter to retrieve basic information about the block.
Inputs:
**hash* - The block's sha256 hash.
Outputs:
**block_header* - A structure containing block header information.
**depth* - The number of blocks succeeding this block on the blockchain. A larger number means an older block.
**difficulty* - The strength of the Monero network based on mining power.
**hash* - The hash of this block.
**height* - The number of blocks preceding this block on the blockchain.
**major_version* - The major version of the monero protocol at this block height.
**minor_version* - The minor version of the monero protocol at this block height.
**nonce* - a cryptographic random one-time number used in mining a Monero block.
**orphan_status* - Usually `false`. If `true`, this block is not part of the longest chain.
**prev_hash* - The hash of the block immediately preceding this block in the chain.
**reward* - The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units.
**timestamp* - The time the block was recorded into the blockchain.
In this example, block 912345 is looked up by its hash: