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 exampleParameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
proposal_id | path | string | true | proposal_id defines the unique id of the proposal. |
voter | path | string | true | voter defines the voter address for the proposals. |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | A successful response. | |
default | default | An unexpected error response. |