The system
command
The command provides various utilities for interacting with the blockchain. It retrieves information about the current state of the chain.
The
storagext-cli
getting started page covers the basic flags necessary to operate the CLI and should be read first.
get-height
The command gets the current block height of the chain.
Example
Getting the current block height of the chain.
storagext-cli system get-height
wait-for-height
The command awaits for the chain to reach a specific block height. It will exit once the chain has reached the specified height.
Parameters
Name | Description | Type |
---|---|---|
HEIGHT | The block height to wait for | Positive integer |
Example
Waiting for the chain to reach block height 100.
storagext-cli system wait-for-height 100