mirror of
https://github.com/sonr-io/sonr.git
synced 2026-09-16 23:16:25 +00:00
58 lines
2.7 KiB
Plaintext
58 lines
2.7 KiB
Plaintext
---
|
|
title: snrd keys show
|
|
description: Display keys details. If multiple names or addresses are provided,
|
|
---
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
snrd keys show [name_or_address [name_or_address...]] [flags]
|
|
```
|
|
|
|
## Flags
|
|
|
|
<TypeTable
|
|
type={{
|
|
"address": { type: "string", description: "the address only (cannot be used with --output)" },
|
|
"bech": { type: "string", default: "acc", description: "The Bech32 prefix encoding for a key (acc|val|cons)" },
|
|
"device": { type: "string", description: "the address in a ledger device (cannot be used with --pubkey)" },
|
|
"help": { type: "string", description: "for show" },
|
|
"multisig-threshold": { type: "integer", default: "1", description: "K out of N required signatures" },
|
|
"pubkey": { type: "string", description: "the public key only (cannot be used with --output)" },
|
|
}}
|
|
/>
|
|
|
|
## Global Flags
|
|
|
|
<TypeTable
|
|
type={{
|
|
"broadcast-mode": { type: "string", default: "sync", description: "Transaction broadcasting mode (sync|async)" },
|
|
"chain-id": { type: "string", description: "Specify Chain ID for sending Tx" },
|
|
"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: "The application home directory" },
|
|
"keyring-backend": { type: "string", default: "os", description: "Select keyring's backend (os|file|test)" },
|
|
"keyring-dir": { type: "string", description: "The client Keyring directory; if omitted, the default 'home' directory will be used" },
|
|
"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 '*:<level>,<key>:<level>')" },
|
|
"log_no_color": { type: "string", description: "colored logs" },
|
|
"node": { type: "string", default: "tcp://localhost:26657", description: "<host>:<port> to tendermint rpc interface for this chain" },
|
|
"output": { type: "string", default: "text", description: "Output format (text|json)" },
|
|
"trace": { type: "string", description: "out full stack trace on errors" },
|
|
}}
|
|
/>
|
|
|
|
## Examples
|
|
|
|
### Basic usage
|
|
|
|
```shell
|
|
snrd keys show
|
|
```
|
|
|
|
## See Also
|
|
|
|
- [snrd keys](./snrd_keys) - Parent command
|