Votes
Votes queries votes of a given proposal.
GEThttps://atom.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/votes
Path parameters
proposal_id*string (uint64)
proposal_id defines the unique id of the proposal.
Query parameters
Response
A successful response.
Body
votesarray of object
votes defines the queried votes.
paginationobject
pagination defines the pagination in the response.
Request
Response
Vote queries voted information based on proposalID, voterAddr. Due to how we handle state, this query would error for proposals that has already been finished.
GEThttps://atom.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}
Path parameters
proposal_id*string (uint64)
proposal_id defines the unique id of the proposal.
voter*string
voter defines the voter address for the proposals.
Response
A successful response.
Body
voteobject
Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.
Request
Response
Last updated