_getProposalVotesByIdAndVoter

Vote queries voted information based on proposalID, voterAddr.

Parameters

path

  • proposal_id: STRING - The unique id of the proposal.
  • voter: STRING - The voter address for the proposals.
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/gov/v1beta1/proposals/804/votes/cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - Voted information based on proposalID, voterAddr.
{
  "vote": {
    "proposal_id": "804",
    "voter": "cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd",
    "option": "VOTE_OPTION_YES",
    "options": [
      {
        "option": "VOTE_OPTION_YES",
        "weight": "1.000000000000000000"
      }
    ]
  }
}

Try Yourself

Language
Click Try It! to start a request and see the response here!