VoteWitnessAccount

Build a transaction to vote for one or more SRs. Successful on-chain execution replaces the account's entire vote list.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
⚠️

Replacement, not increment

Successful on-chain execution replaces the account's entire vote list with votes; merely building the transaction does not change the votes. To keep an existing vote, include it in the new transaction. To remove a vote for an SR, omit that SR from the new list, which must still contain at least one valid vote.

📘

Rewards use Maintenance Period snapshots

Vote changes do not immediately change the current reward cycle. A vote changed during the current Maintenance Period affects rewards from the next period; see Voting for SRs for the per-cycle accounting rules.


Related resources

Body Params
string
required

Transaction initiator address. (Format: Base58 or Hex)

votes
array of objects
required

List of vote objects, each containing an SR address (vote_address) and vote count (vote_count).

votes*
int32

Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.

boolean

Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json