Skip to content

Vote

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.

Method Declaration

Python
# TODO: add Python example

Parameters

ParameterLocationTypeRequiredDescription
proposal_idpathstringtrueproposal_id defines the unique id of the proposal.
voterpathstringtruevoter defines the voter address for the proposals.

Response

StatusMeaningSchemaDescription
200OKA successful response.
defaultdefaultAn unexpected error response.