block_height

The height of the block being built, i.e. the number of completed blocks in the blockchain.

For each block, the height is the number of blocks before it, therefore the first block in the chain has height 0, the second has height 1, etc.

Since

0.9.0

Throws

exception

if there is no operation context