--- title: snrd tx gov description: Governance transactions subcommands --- # snrd tx gov Governance transactions subcommands ## Usage ```shell snrd tx gov [flags] ``` ```shell snrd tx gov [command] ``` ## Available Commands | Command | Description | |---------|-------------| | `cancel-proposal` | Cancel governance proposal before the voting period ends. Must be signed by the proposal creator. | | `deposit` | Deposit tokens for an active proposal | | `draft-proposal` | Generate a draft proposal json file. The generated proposal json contains only one message (skeleton). | | `submit-legacy-proposal` | Submit a legacy proposal along with an initial deposit | | `submit-proposal` | Submit a proposal along with some messages, metadata and deposit | | `vote` | Vote for an active proposal, options: yes/no/no_with_veto/abstain | | `weighted-vote` | Vote for an active proposal, options: yes/no/no_with_veto/abstain | ## Flags for gov ## 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 gov --from alice --chain-id sonrtest_1-1 ``` ## See Also - [snrd tx](./snrd_tx.mdx) - Parent command