ITC Blockchain median-stake

The itc blockchain median-stake command calculates and displays the median stake of the top 320 validators on the Intelchain Blockchain. This includes the applied delegations before the Enhanced Proof of Stake (EPoS) processing. The command is useful for evaluating validator competitiveness and overall stake distribution.

Commmand Syntax

./itc blockchain median-stake [flags]

Displays help information for the command

-h
--help

Options Inherited from Parent Commands

  • --file string -> Specifies a file path for input when the command requires it
  • -e, --ledger → Enables the use of a Ledger hardware wallet for transaction signing.
  • --no-latest → Prevents appending "latest" to RPC parameters, useful for specific blockchain states.
  • --no-pretty → Disables pretty-print formatting for JSON outputs, making them compact and machine-readable.
  • -n, --node string → Specifies the host node for blockchain communication. Default: http://localhost:9500
  • -r, --rpc-prefix string → Sets the RPC prefix for commands interacting with the blockchain. Default: itc
  • -v, --verbose → Outputs detailed debug information, equivalent to setting the ITC_ALL_DEBUG = true environment variable.

Usage Examples

Display the median stake of top 320 validators

Use this command to fetch and calculate the median stake :

./itc blockchain median-stake

Use a custom node for calculations

Connect to a remote blockchain node to perform the median stake calculation :

./itc blockchain median-stake -n http://remote-node:9500

Run with a Ledger hardware wallet

Use the Ledger wallet for added security :

./itc blockchain median-stake --ledger

Compact JSON output

Fetch the median stake calculation with compact JSON output :

./itc blockchain median-stake --no-pretty