Files
sonr/docs/reference/commands/snrd_query_account.mdx
T

96 lines
4.1 KiB
Plaintext

---
title: snrd query account
description: Querying subcommands
---
## Usage
```shell
snrd query [flags]
```
```shell
snrd query [command]
```
## Available Commands
| Command | Description |
|---------|-------------|
| `auth` | Querying commands for the auth module |
| `authz` | Querying commands for the authz module |
| `bank` | Querying commands for the bank module |
| `block-results` | Query for a committed block's results by height |
| `blocks` | Query for paginated blocks that match a set of events |
| `circuit` | Querying commands for the circuit module |
| `comet-validator-set` | Get the full CometBFT validator set at given height |
| `consensus` | Querying commands for the consensus module |
| `dex` | Querying commands for the dex module |
| `did` | Querying commands for the did module |
| `distribution` | Querying commands for the distribution module |
| `dwn` | Querying commands for the dwn module |
| `erc20` | Querying commands for the erc20 module |
| `evidence` | Querying commands for the evidence module |
| `evm` | Querying commands for the evm module |
| `feegrant` | Querying commands for the feegrant module |
| `feemarket` | Querying commands for the fee market module |
| `gov` | Querying commands for the gov module |
| `group` | Querying commands for the group module |
| `ibc` | Querying commands for the IBC module |
| `ibc-fee` | IBC relayer incentivization query subcommands |
| `ibc-transfer` | IBC fungible token transfer query subcommands |
| `ibc-wasm` | IBC wasm manager module query subcommands |
| `interchain-accounts` | IBC interchain accounts query subcommands |
| `mint` | Querying commands for the mint module |
| `nft` | Querying commands for the nft module |
| `params` | Querying commands for the params module |
| `ratelimit` | Querying commands for the ratelimit module |
| `slashing` | Querying commands for the slashing module |
| `staking` | Querying commands for the staking module |
| `svc` | Querying commands for the svc module |
| `tokenfactory` | Querying commands for the tokenfactory module |
| `tx` | Query for a transaction by hash, "addr/seq" combination or comma-separated signatures in a committed block |
| `txs` | Query for paginated transactions that match a set of events |
| `upgrade` | Querying commands for the upgrade module |
| `wait-tx` | Wait for a transaction to be included in a block |
## Flags
<TypeTable
type={{
"chain-id": { type: "string", description: "The network chain ID" },
"help": { type: "string", description: "for query" },
}}
/>
## Global Flags
<TypeTable
type={{
"broadcast-mode": { type: "string", default: "sync", description: "Transaction broadcasting mode (sync|async)" },
"fees": { type: "string", description: "Fees to pay along with transaction; eg: 10aatom" },
"from": { type: "string", description: "Name or address of private key with which to sign" },
"gas-adjustment": { type: "float", default: "1", description: "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": { type: "string", description: "Gas prices to determine the transaction fee (e.g. 10aatom)" },
"home": { type: "string", default: "/Users/prad/.sonr", description: "directory for config and data" },
"keyring-backend": { type: "string", default: "os", description: "Select keyring's backend" },
"log_format": { type: "string", default: "plain", description: "The logging format (json|plain)" },
"log_level": { type: "string", default: "info", description: "The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:&lt;level&gt;,&lt;key&gt;:&lt;level&gt;')" },
"log_no_color": { type: "string", description: "colored logs" },
"node": { type: "string", default: "tcp://localhost:26657", description: "&lt;host&gt;:&lt;port&gt; to tendermint rpc interface for this chain" },
"trace": { type: "string", description: "out full stack trace on errors" },
}}
/>
## Examples
### Basic query
```shell
snrd query account
```
## See Also
- [snrd query](./snrd_query) - Parent command