/cosmos/gov/v1beta1/proposals/{proposal_id}/votes
Votes queries votes of a given proposal.
Parameters:
proposal_id - string, proposal_id defines the unique id of the proposal.
Example:
// Request
curl -X GET -H 'Content-Type: application/json' https://cosmos.blockpi.network/lcd/v1/<your-api-key>/cosmos/gov/v1beta1/proposals/98/votes
// Result
{
"votes": [
{
"proposal_id": "98",
"voter": "cosmos1qqqzhvucv6375szzc5mh7n0290fd4j38pv6yaj",
"option": "VOTE_OPTION_NO",
"options": [
{
"option": "VOTE_OPTION_NO",
"weight": "1.000000000000000000"
}
]
},
......
],
"pagination": {
"next_key": "FAHR/8akPH1SOx4PE37I9+tDA870",
"total": "13859"
}
}
Previous/cosmos/gov/v1beta1/proposals/{proposal_id}/tallyNext/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}
Last updated
Was this helpful?