Skip to content

blockid Command Guide

Enrico Rubboli edited this page Sep 4, 2023 · 1 revision

The blockid command retrieves the ID (or hash) of a block at a specified height in the Mintlayer blockchain.

Usage

To get the ID of a block at a specific height, use the following command:

blockid <HEIGHT>

Arguments

  • <HEIGHT>: The height of the block for which you want to retrieve the ID.

Output

When you run the blockid command with a specific height, you'll receive an output similar to:

6f511096da79fb2da17f71a2193172d68e481e463c80722f1aa5d2e1250e96d8

This output represents the ID (or hash) of the block at the specified height.

Options

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