Files
sonr/docs/reference/commands/snrd_query_distribution.mdx
Prad NukalaandGitHub 13e6c3e84d Master (#1262)
* clear

* feat: Add everything

* fix: Commenht
2025-10-03 14:45:52 -04:00

106 lines
2.9 KiB
Plaintext

---
title: snrd query distribution
description: Querying commands for the distribution module
---
# snrd query distribution
Querying commands for the distribution module
## Usage
```shell
snrd query distribution [flags]
```
```shell
snrd query distribution [command]
```
## Available Commands
| Command | Description |
|---------|-------------|
| `commission` | Query distribution validator commission |
| `community-pool` | Query the amount of coins in the community pool |
| `delegator-validators` | Execute the DelegatorValidators RPC method |
| `delegator-withdraw-address` | Execute the DelegatorWithdrawAddress RPC method |
| `params` | Query the current distribution parameters. |
| `rewards` | Query all distribution delegator rewards |
| `rewards-by-validator` | Query all distribution delegator from a particular validator |
| `slashes` | Query distribution validator slashes |
| `validator-distribution-info` | Query validator distribution info |
| `validator-outstanding-rewards` | Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations |
## Flags
<ParamField path="help" type="string">
for distribution
</ParamField>
## Global Flags
<ParamField path="broadcast-mode" type="string" default="sync">
Transaction broadcasting mode (sync|async)
</ParamField>
<ParamField path="chain-id" type="string">
The network chain ID
</ParamField>
<ParamField path="fees" type="string">
Fees to pay along with transaction; eg: 10aatom
</ParamField>
<ParamField path="from" type="string">
Name or address of private key with which to sign
</ParamField>
<ParamField path="gas-adjustment" type="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
</ParamField>
<ParamField path="gas-prices" type="string">
Gas prices to determine the transaction fee (e.g. 10aatom)
</ParamField>
<ParamField path="home" type="string" default="/Users/prad/.sonr">
directory for config and data
</ParamField>
<ParamField path="keyring-backend" type="string" default="os">
Select keyring's backend
</ParamField>
<ParamField path="log_format" type="string" default="plain">
The logging format (json|plain)
</ParamField>
<ParamField path="log_level" type="string" default="info">
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:&lt;level&gt;,&lt;key&gt;:&lt;level&gt;')
</ParamField>
<ParamField path="log_no_color" type="string">
colored logs
</ParamField>
<ParamField path="node" type="string" default="tcp://localhost:26657">
&lt;host&gt;:&lt;port&gt; to tendermint rpc interface for this chain
</ParamField>
<ParamField path="trace" type="string">
out full stack trace on errors
</ParamField>
## Examples
### Basic query
```shell
snrd query distribution
```
## See Also
- [snrd query](./snrd_query.mdx) - Parent command