Skip to content

getblockcount

Returns the number of blocks in the longest blockchain.

Result: n (numeric) The current block count

Examples:

avian-cli getblockcount