MPC Tally API Server

get-proposal-voters

Get a list of all voters who have voted on a specific proposal

Input Schema

NameRequiredDescriptionDefault
afterCursorNoCursor for pagination
beforeCursorNoCursor for previous page pagination
isDescendingNoSort in descending order (true shows most recent/largest first)
limitNoMaximum number of voters to return (default: 20)
proposalIdYesThe ID of the proposal to get voters for
sortByNoHow to sort the voters ('id' sorts by date (default), 'amount' sorts by voting power)

Input Schema (JSON Schema)

{ "properties": { "afterCursor": { "description": "Cursor for pagination", "type": "string" }, "beforeCursor": { "description": "Cursor for previous page pagination", "type": "string" }, "isDescending": { "description": "Sort in descending order (true shows most recent/largest first)", "type": "boolean" }, "limit": { "description": "Maximum number of voters to return (default: 20)", "type": "number" }, "proposalId": { "description": "The ID of the proposal to get voters for", "type": "string" }, "sortBy": { "description": "How to sort the voters ('id' sorts by date (default), 'amount' sorts by voting power)", "enum": [ "id", "amount" ], "type": "string" } }, "required": [ "proposalId" ], "type": "object" }