Skip to content

bestblock Command Guide

Enrico Rubboli edited this page Sep 4, 2023 · 2 revisions

The bestblock command provides the hash of the most recent or "best" block in the Mintlayer blockchain.

Usage

To retrieve the hash of the current best block, use the following command:

bestblock

Output

When you run the bestblock command, you'll receive an output similar to:

6f511096da79fb2da17f71a2193172d68e481e463c80722f1aa5d2e1250e96d8

This output represents the hash of the most recent block in the blockchain.

Options

  • -h, --help: Displays the help message for the bestblock command.
Clone this wiki locally