snrd query staking

Querying commands for the staking module

Usage

snrd query staking [flags]
snrd query staking [command]

Available Commands

CommandDescription
delegationQuery a delegation based on address and validator address
delegationsQuery all delegations made by one delegator
delegations-toQuery all delegations made to one validator
delegator-validatorQuery validator info for given delegator validator pair
delegator-validatorsQuery all validators info for given delegator address
historical-infoQuery historical info at given height
paramsQuery the current staking parameters information
poolQuery the current staking pool values
redelegationQuery a redelegation record based on delegator and a source and destination validator address
unbonding-delegationQuery an unbonding-delegation record based on delegator and validator address
unbonding-delegationsQuery all unbonding-delegations records for one delegator
unbonding-delegations-fromQuery all unbonding delegatations from a validator
validatorQuery a validator
validatorsQuery for all validators

Flags

help
string
for staking

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
The network chain ID
fees
string
Fees to pay along with transaction; eg: 10aatom
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored
gas-prices
string
Gas prices to determine the transaction fee (e.g. 10aatom)
home
string
default:"/Users/prad/.sonr"
directory for config and data
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
log_no_color
string
colored logs
node
string
default:"tcp://localhost:26657"
<host>:<port> to tendermint rpc interface for this chain
trace
string
out full stack trace on errors

Examples

Basic query

snrd query staking

See Also