GET: /governance/proposal_vote_receipts
ProposalVoteReceiptRequest
The request to the Proposal Vote Receipt API can specify a number of filters, such as which id to retrieve information about or which account.
Type | Key | Description |
uint32 |
| A proposal id to filter on, e.g.?proposal_id=23 |
bytes |
| Filter for proposals receipts for the given account |
bool |
| Filter for proposals receipts by for votes withsupport=true or against votes withsupport=false . If support not specified, response will return paginated votes for both for and against votes |
bool |
| Will populate a proposal object on the vote receipt when request submitted withwith_proposal_data=true , default is false |
uint32 |
| Number of proposal vote receipts to include in the response, default is 100 |
uint32 |
| Pagination number for proposal vote receipts in the response, default is 0 |
ProposalVoteReceiptResponse
The Proposal Vote Receipt API returns a list of proposal vote receipts that match the given filters on the request
Type | Key | Description |
bool |
| If set false, indicates an error returning data. |
ProposalVoteReceiptData |
| The list of proposal vote receipts matching the requested filter. |
ProposalVoteReceiptData
Type | Key | Description |
uint32 |
| Offset of pagination |
uint32 |
| Limit of pagination |
uint32 |
| Total count of matching data |
ProposalVoteReceipt |
| The list of proposal vote receipts matching the requested filter |
ProposalVoteReceipt
Type | Key | Description |
uuid |
| Unique id for looking up a voteReceipt |
string |
| The address that describes the proposer |
bool |
| Flag that indicates voted |
bool |
| Whether or not the voter supports the proposal |
uint32 |
| Voted block number |
uint32 |
| Voted block timestamp |
string |
| The number of votes cast by the voter |
Last updated