Returns a list of votes for a governance proposal.
Changed onget/consensus/proposals/{proposal_id}/votes
Request
- Base URL: https://nexus.oasis.io/v1
- URL: https://nexus.oasis.io/v1/consensus/proposals/{proposal_id}/votes
- Auth: none declared
Path parameters
proposal_idinteger required
The unique identifier of the proposal for which votes are returned.
Query parameters
limitinteger
The maximum numbers of items to return.
offsetinteger
The number of items to skip before starting to collect the result set.
votestring
A filter on the vote value.
Response
A JSON object containing a list of votes for a governance proposal.
Example response
{
"total_count": 412,
"is_total_count_clipped": true,
"votes": [
{
"address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
"vote": "yes",
"height": 8048956,
"timestamp": "2022-03-01T00:00:00Z"
}
]
}Changes
- info
added the new optional
queryrequest parametervote
- info
- warning
deleted the
queryrequest parametervote
- warning