Skip to main content

snrd query did

Querying commands for the did module

Usage

snrd query did [flags]
snrd query did [command]

Available Commands

CommandDescription
credentialGet a W3C verifiable credential
credentialsList all W3C verifiable credentials
credentials-by-didGet all credentials (verifiable and WebAuthn) associated with a DID
documentGet a W3C DID document by DID
documentsList all W3C DID documents
documents-by-controllerGet W3C DID documents by controller
paramsQuery the current consensus parameters
resolveResolve a DID to its document
serviceGet a service endpoint from a DID document
verification-methodGet a verification method from a DID document

Flags

help
string
for did

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
The network chain ID
fees
string
Fees to pay along with transaction; eg: 10aatom
from
string
Name or address of private key with which to sign
gas-adjustment
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
gas-prices
string
Gas prices to determine the transaction fee (e.g. 10aatom)
home
string
default:"/Users/prad/.sonr"
directory for config and data
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
log_no_color
string
colored logs
node
string
default:"tcp://localhost:26657"
<host>:<port> to tendermint rpc interface for this chain
trace
string
out full stack trace on errors

Examples

Basic query

snrd query did

See Also

I