--- title: snrd tx did description: Transactions commands for the did module --- # snrd tx did Transactions commands for the did module ## Usage ```shell snrd tx did [flags] ``` ```shell snrd tx did [command] ``` ## Available Commands | Command | Description | |---------|-------------| | `add-service` | Add a service endpoint to a DID document | | `add-verification-method` | Add a verification method to a DID document | | `create-did` | Create a new DID document | | `deactivate-did` | Deactivate a DID document | | `issue-credential` | Issue a W3C verifiable credential | | `link-external-wallet` | Execute the LinkExternalWallet RPC method | | `register-web-authn-credential` | Execute the RegisterWebAuthnCredential RPC method | | `remove-service` | Remove a service endpoint from a DID document | | `remove-verification-method` | Remove a verification method from a DID document | | `revoke-credential` | Revoke a W3C verifiable credential | | `update-did` | Update an existing DID document | | `update-params` | Execute the UpdateParams RPC method | ## Flags for did ## 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 ### Submit transaction ```shell snrd tx did --from alice --chain-id sonrtest_1-1 ``` ## See Also - [snrd tx](./snrd_tx.mdx) - Parent command