Msg

Vote allows a voter to vote on a proposal.

post/cosmos.group.v1.Msg/Vote

Request body

proposal_idstring uint64

proposal is the unique ID of the proposal.

voterstring

voter is the voter account address.

option'VOTE_OPTION_UNSPECIFIED' | 'VOTE_OPTION_YES' | 'VOTE_OPTION_ABSTAIN' | 'VOTE_OPTION_NO' | 'VOTE_OPTION_NO_WITH_VETO'

option is the voter's choice on the proposal.

metadatastring

metadata is any arbitrary metadata attached to the vote.

exec'EXEC_UNSPECIFIED' | 'EXEC_TRY'

exec defines whether the proposal should be executed immediately after voting or not.

Response

A successful response.

Changes