ITC Blockchain Delegation by-validator

The itc blockchain delegation by-validator command retrieves all delegations associated with a specific validator in the Intelchain Blockchain. This is particularly useful for understanding the validator's stake distribution and associated delegators.

Commmand Syntax

./itc blockchain delegation by-validator [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

Retrieve all delegations for a validator

Use this command to list delegations for a specific validator :

./itc blockchain delegation by-validator

Use a custom blockchain node

Connect to a remote node at 'http://remote-node:9500' to fetch validator delegations :

./itc blockchain delegation by-validator -n http://remote-node:9500

Use with a Ledger hardware wallet

Use a Ledger wallet for secure delegation retrieval :

./itc blockchain delegation by-validator --ledger

Disable pretty-print for JSON output

Fetch delegations with compact JSON formatting for programmatic use :

./itc blockchain delegation by-validator --no-pretty