StaticprogramPublic key that identifies the Vote program
StaticspaceMax Space for newly created vote accounts using the current Agave vote-state layout targeted by this client.
Vote Program v3.1.13 (https://docs.rs/solana-vote-program/3.1.13/solana_vote_program/) reports:
VoteStateV4::size_of() == 3762VoteStateV3::size_of() == 3762VoteState1_14_11::size_of() == 3731The smaller legacy VoteState1_14_11 size does not change this
constant: existing historical vote accounts may still use that older
layout, but new accounts should allocate enough space for the current
V3/V4 layout.
Keep this in sync with Agave vote-program sizing in https://github.com/anza-xyz/agave/blob/3134055b562e95902233be308453fffa1c4a8902/programs/vote/src/vote_state/mod.rs.
StaticauthorizeGenerate a transaction that authorizes a new Voter or Withdrawer on the Vote account.
StaticauthorizeGenerate a transaction that authorizes a new Voter or Withdrawer and requires the new authority to sign.
StaticauthorizeGenerate a transaction that authorizes a new Voter or Withdrawer from a derived key and requires the new authority to sign.
StaticauthorizeGenerate a transaction that authorizes a new Voter or Withdrawer on the Vote account where the current Voter or Withdrawer authority is a derived key.
StaticcreateGenerate a transaction that creates a new Vote account.
StaticinitializeGenerate an Initialize instruction.
StaticsafeGenerate a transaction to withdraw safely from a Vote account.
This function was created as a safeguard for vote accounts running validators, safeWithdraw
checks that the withdraw amount will not exceed the specified balance while leaving enough left
to cover rent. If you wish to close the vote account by withdrawing the full amount, call the
withdraw method directly.
StaticupdateGenerate a transaction to update the commission on a Vote account.
StaticupdateGenerate a transaction to update the validator identity (node pubkey) of a Vote account.
StaticwithdrawGenerate a transaction to withdraw from a Vote account.
Factory class for transactions to interact with the Vote program