--- title: snrd query auth description: Querying commands for the auth module --- # snrd query auth Querying commands for the auth module ## Usage ```shell snrd query auth [flags] ``` ```shell snrd query auth [command] ``` ## Available Commands | Command | Description | |---------|-------------| | `account` | Query account by address | | `account-info` | Query account info which is common to all account types. | | `accounts` | Query all the accounts | | `address-by-acc-num` | Query account address by account number | | `address-bytes-to-string` | Transform an address bytes to string | | `address-string-to-bytes` | Transform an address string to bytes | | `bech32-prefix` | Query the chain bech32 prefix (if applicable) | | `module-account` | Query module account info by module name | | `module-accounts` | Query all module accounts | | `params` | Query the current auth parameters | ## Flags for auth ## Global Flags Transaction broadcasting mode (sync|async) The network chain ID Fees to pay along with transaction; eg: 10aatom Name or address of private key with which to sign 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 to determine the transaction fee (e.g. 10aatom) directory for config and data Select keyring's backend The logging format (json|plain) The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') colored logs <host>:<port> to tendermint rpc interface for this chain out full stack trace on errors ## Examples ### Basic query ```shell snrd query auth ``` ## See Also - [snrd query](./snrd_query.mdx) - Parent command