List votes for a specific governance proposal
Parameters
Output
Encoding
application/jsoncursor
string
Optional
Cursor for next page
total
integer
Required
Total number of votes
votes
array
Required
List of votes
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [],
"output": {
"schema": {
"type": "object",
"required": [
"votes",
"total"
],
"properties": {
"total": {
"type": "integer",
"description": "Total number of votes"
},
"votes": {
"type": "array",
"items": {
"ref": "#voteView",
"type": "ref"
},
"description": "List of votes"
},
"cursor": {
"type": "string",
"description": "Cursor for next page"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"proposalId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results to return"
},
"cursor": {
"type": "string",
"description": "Pagination cursor for next page"
},
"proposalId": {
"type": "string",
"description": "Proposal identifier"
}
}
},
"description": "List votes for a specific governance proposal"
}