Skip to content

getbestblockhash

Returns the hash of the best (tip) block in the longest blockchain.

Result:

"hex" (string) the block hash hex encoded

Examples:

avian-cli getbestblockhash