Executing a Proposal

Voting On A Proposal

---


description: "In order to vote on a proposal, submit the following command from the console of an Validator in the active set."

Use the mantrachaind tx gov vote command below to cast a governance vote by specifying the proposal ID, your vote option (e.g., yes), and the key/address you’re voting from, then broadcasting the transaction to the network.

mantrachaind tx gov vote <proposal-id> <vote-option>   
   --from <submitter address> \
   --gas-prices="40000000000amantra"
   --gas <max gas allocated> \
   --gas-adjustment <number> \
   --gas-prices=<amantra>

e.g.

mantrachaind tx gov vote 5 "yes"   
--from=fluffy-duck-keys
--gas-prices="40000000000amantra"
--gas-adjustment=2
--gas="auto"

Use the following command to see the vote tally.

mantrachaind q gov votes <proposal-id>

To see how a particular Validator voted, use the following command.

mantrachaind query gov vote <proposal-id> <voter-addr>

e.g.

mantrachaind query gov vote 5 mantra1layehd68atc9ny7dj96gunxnh3ryqzxa3ggwq6