GET /partner/v1/governance/
Returns everything needed to render a governance UI in a single call.404 governance_not_found.
Response
The Governance Object
We recommend checking the per-field
*Locked flags before offering an edit. A proposal that touches a locked field fails at build time rather than at vote time, so filtering the UI up front saves the user a wasted bond.The Proposal Object
viewerVotes
This array contains the connected user’s own votes, derived from the access token rather than a caller-supplied address, so you can render whether a user has voted without making a second request. Each entry has the same shape as the vote objects described below.GET /partner/v1/governance/proposals//votes
Returns the voters on a single proposal, largest stake first.The
limit parameter fails soft. A value that is not a positive number, such as 0, abc, or an empty string, is silently treated as 50 rather than rejected, and anything above 200 is clamped down. Since you will never receive a 400 from this parameter, we recommend validating it yourself if the value comes from user input.As with proposals, there is no cursor, so a proposal with more than 200 voters cannot be fully enumerated here.The
{mint} and {proposal} path segments are not checked for Base58 validity before the lookup runs. A malformed address returns 404 governance_not_found or an empty votes array rather than 400 invalid_input, so an empty result is not evidence that the address was well-formed.Response
A vote can have
countedAsVoter: false while still carrying weight, because votes below minLockAmount contribute to the tally but not to the distinct-voter quorum. We recommend displaying participatingVoters from the proposal rather than counting this array.