cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}

Parameters

Object NameRequiredTypeDetail
PROPOSAL_IDIntegerThe unique id of the proposal.
VOTERStringThe 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"
            }
        ]
    }
}