getheight

Returns the current blockchain height

Outputs:
height — unsigned int; length of the longest chain (equal to top block height plus one).

Language