getlastblockheader

Returns the header of the last block in the blockchain.

Outputs:
block_header — object; a block header object for the last block.

block header object fields:

  • depth — unsigned int; distance in blocks from the blockchain top. Always zero for this call.
  • difficulty — unsigned int; block difficulty.
  • hash — string; block identifier.
  • prev_hash — string; identifier of the previous block.
  • height — unsigned int; block height.
  • major_version — unsigned int; major version of a block.
  • minor_version — unsigned int; minor version of a block.
  • nonce — unsigned int; block nonce.
  • orphan_status — boolean; is this block orphan or not? Always false for this call.
  • reward — unsigned int; how much money this block has generated.
  • timestamp — unsigned int; block timestamp.
Language