The Block Model

A block is a JSON object with a particular schema, as outlined in this page. A block must contain the following JSON keys (also called names or fields):

  "height": "<Height of the block>",
  "transactions": ["<List of transactions>"]

The JSON Keys in a Block


The block "height" (integer) denotes the height of the blockchain when the given block was committed. Since the blockchain height increases monotonically the height of block can be regarded as its id.

NOTE: The genesis block has height 0


A list of the transactions included in the block. (Each transaction is a JSON object.)