staking
Staking module provides a set of subcommands to query staking state and send staking transactions.
Available Commands
Name | Description |
---|---|
validator | Query a validator |
validators | Query for all validators |
delegation | Query a delegation based on address and validator address |
delegations | Query all delegations made from one delegator |
delegations-to | Query all delegations to one validator |
unbonding-delegation | Query an unbonding-delegation record based on delegator and validator address |
unbonding-delegations | Query all unbonding-delegations records for one delegator |
unbonding-delegations-from | Query all unbonding delegatations from a validator |
redelegations-from | Query all outgoing redelegatations from a validator |
redelegation | Query a redelegation record based on delegator and a source and destination validator address |
redelegations | Query all redelegations records for one delegator |
pool | Query the current staking pool values |
params | Query the current staking parameters information |
historical-info | Query historical info at given height |
create-validator | Create new validator initialized with a self-delegation to it |
edit-validator | Edit existing validator account |
delegate | Delegate liquid tokens to an validator |
unbond | Unbond shares from a validator |
redelegate | Redelegate illiquid tokens from one validator to another |
uptickd query staking validator
Query a validator by validator address
uptickd query staking validators
Query all validators
uptickd query staking delegation
Query a delegation based on delegator address and validator address.
Query a delegation
Example Output:
uptickd query staking delegations
Query all delegations delegated from one delegator.
Query all delegations of a delegator
uptickd query staking delegations-to
Query all delegations to one validator.
Query all delegations to one validator
Example Output:
uptickd query staking unbonding-delegation
Query an unbonding-delegation record based on delegator and validator address.
Query an unbonding delegation record
uptickd query staking unbonding-delegations
Query all unbonding delegations records of a delegator
uptickd query staking unbonding-delegations-from
Query all unbonding delegations from a validator
uptickd query staking redelegations-from
Query all outgoing redelegations of a validator
Query all outgoing redelegatations of a validator
uptickd query staking redelegation
Query a redelegation record based on delegator and source validator address and destination validator address.
Query a redelegation record
uptickd query staking redelegations
Query all redelegations records of a delegator
uptickd query staking pool
Query the current staking pool values
Example Output:
uptickd query staking params
Query the current staking parameters information
uptickd query staking historical-info
Query historical info at given height
uptickd tx staking create-validator
Send a transaction to apply to be a validator and delegate a certain amount of iris to it.
Flags:
Name, shorthand | type | Required | Default | Description |
---|---|---|---|---|
--amount | string | Yes | Amount of coins to bond | |
--commission-rate | float | Yes | 0 | The initial commission rate percentage |
--commission-max-rate | float | 0 | The maximum commission rate percentage | |
--commission-max-change-rate | float | 0 | The maximum commission change rate percentage (per day) | |
--min-self-delegation | string | The minimum self delegation required on the validator | ||
--details | string | Optional details | ||
--genesis-format | bool | FALSE | Export the transaction in gen-tx format; it implies --generate-only | |
--identity | string | Optional identity signature (ex. UPort or Keybase) | ||
--ip | string | Node's public IP. It takes effect only when used in combination with | ||
--node-id | string | The node's ID | ||
--moniker | string | Yes | Validator name | |
--pubkey | string | Yes | Go-Amino encoded hex PubKey of the validator. For Ed25519 the go-amino prepend hex is 1624de6220 | |
--website | string | Optional website | ||
--security-contact | string | The validator's (optional) security contact email |
Create a validator
TIPFollow the Mainnet instructions to learn more.
uptickd tx staking edit-validator
Edit an existing validator's settings, such as commission rate, name, etc.
Flags:
Name, shorthand | type | Required | Default | Description |
---|---|---|---|---|
--commission-rate | float | 0 | Commission rate percentage | |
--moniker | string | Validator name | ||
--identity | string | Optional identity signature (ex. UPort or Keybase) | ||
--website | string | Optional website | ||
--details | string | Optional details | ||
--security-contact | string | The validator's (optional) security contact email | ||
--min-self-delegation | string | The minimum self delegation required on the validator |
Edit validator information
Upload validator avatarPlease refer to How to upload my validator's logo to the Explorers
uptickd tx staking delegate
Delegate tokens to a validator.
uptickd tx staking unbond
Unbond tokens from a validator.
uptickd tx staking redelegate
Transfer delegation from one validator to another.
TIP
There is no
unbonding time
during the redelegation, so you will not miss the rewards. But you can only redelegate once per validator, until a period (=unbonding time
) exceed.
Last updated