--- title: snrd query did description: Querying commands for the did module --- ## Usage ```shell snrd query did [flags] ``` ```shell snrd query did [command] ``` ## Available Commands | Command | Description | |---------|-------------| | `credential` | Get a W3C verifiable credential | | `credentials` | List all W3C verifiable credentials | | `credentials-by-did` | Get all credentials (verifiable and WebAuthn) associated with a DID | | `document` | Get a W3C DID document by DID | | `documents` | List all W3C DID documents | | `documents-by-controller` | Get W3C DID documents by controller | | `params` | Query the current consensus parameters | | `resolve` | Resolve a DID to its document | | `service` | Get a service endpoint from a DID document | | `verification-method` | Get a verification method from a DID document | ## Flags ## Global Flags ## Examples ### Basic query ```shell snrd query did ``` ## See Also - [snrd query](./snrd_query) - Parent command