Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
PROPOSAL_ID | ✅ | Integer | The unique id of the proposal. |
VOTER | ✅ | String | The voter address for the proposal. |
/cosmos/gov/v1beta1/proposals/646/votes/cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd
Result
The voted information based on proposalID, voterAddr.
Example
Request
curl <your-rest-endpoint>/cosmos/gov/v1beta1/proposals/646/votes/cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd \
-X GET \
-H "accept: application/json"
Return
{
"vote": {
"proposal_id": "646",
"voter": "cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd",
"option": "VOTE_OPTION_NO_WITH_VETO",
"options": [
{
"option": "VOTE_OPTION_NO_WITH_VETO",
"weight": "1.000000000000000000"
}
]
}
}