APIs for voting, SR candidates, brokerage, and reward withdrawal.
APIs in this group
Voting
| API | Purpose |
|---|---|
| VoteWitnessAccount | Vote for Super Representative candidates. |
| GetReward | Query unclaimed voting rewards. |
| WithdrawBalance | Withdraw voting rewards. |
SR and candidate queries
| API | Purpose |
|---|---|
| ListWitnesses | Query the list of SR candidates and active SRs. |
| GetBrokerage | Query a candidate's reward-sharing brokerage ratio. |
SR candidate operations
| API | Purpose |
|---|---|
| CreateWitness | Apply to become an SR candidate. |
| UpdateWitness | Update SR candidate information. |
| UpdateBrokerage | Update the brokerage ratio. |
Related resources
- Delegated Proof of Stake — block production, SR elections, and solidification
- Account model — accounts, permissions, and voting-related state