Skip to content

Latest commit

 

History

History
101 lines (67 loc) · 3.92 KB

distribution.md

File metadata and controls

101 lines (67 loc) · 3.92 KB
description
The distribution module allows you to manage your staking rewards

distribution

Available Commands

Name Description
commission Query distribution validator commission
community-pool Query the amount of coins in the community pool
params Query distribution params
rewards Query all distribution delegator rewards or rewards from a particular validator
slashes Query distribution validator slashes.
validator-outstanding-rewards Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations
fund-community-pool Funds the community pool with the specified amount
set-withdraw-addr Set the withdraw address for rewards associated with a delegator address
withdraw-all-rewards Withdraw all rewards for a single delegator
withdraw-rewards Withdraw rewards from a given delegation address, and optionally withdraw validator commission if the delegation address given is a validator operator

junod query distribution commission

Query validator commission rewards from delegators to that validator.

junod query distribution commission [validator] [flags]

junod query distribution community-pool

Query all coins in the community pool which is under Governance control.

junod query distribution community-pool [flags]

junod query distribution params

Query distribution params.

 junod query distribution params [flags]

junod query distribution rewards

Query all rewards earned by a delegator, optionally restrict to rewards from a single validator.

junod query distribution rewards [delegator-addr] [validator-addr] [flags]

junod query distribution slashes

Query all slashes of a validator for a given block range.

junod query distribution slashes [validator] [start-height] [end-height] [flags]

junod query distribution validator-outstanding-rewards

Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations.

junod query distribution validator-outstanding-rewards [validator] [flags]

junod tx distribution fund-community-pool

Funds the community pool with the specified amount.

junod tx distribution fund-community-pool [amount] [flags]

junod tx distribution set-withdraw-addr

Set the withdraw address for rewards associated with a delegator address.

junod tx distribution set-withdraw-addr [withdraw-addr] [flags]

junod tx distribution withdraw-all-rewards

Withdraw all rewards for a single delegator.

junod tx distribution withdraw-all-rewards [flags]

junod tx distribution withdraw-rewards

Withdraw rewards from a given delegation address, and optionally withdraw validator commission if the delegation address given is a validator operator.

junod tx distribution withdraw-rewards [validator-addr] [flags]