Path Parameters
- proposal_idstringREQUIRED
The unique ID of a proposal.
- voterstringREQUIRED
The voter address for the proposal.
Returns
- voteobject
Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option
- proposal_idstring
Defines the unique id of the proposal
- voterstring
The voter address of the proposal
- optionstring
Default:
VOTE_OPTION_UNSPECIFIEDEnum:VOTE_OPTION_UNSPECIFIEDVOTE_OPTION_YESVOTE_OPTION_ABSTAINVOTE_OPTION_NOVOTE_OPTION_NO_WITH_VETODeprecated: Prefer to use options instead. This field is set in queries if and only if len(options) == 1 and that option has weight 1. In all other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
- optionsarray
Options is the weighted vote options. Since: cosmos-sdk 0.43
- optionstring
Defines the valid vote options, it must not contain duplicate vote options
- weightstring
The vote weight associated with the vote option