Options
All
  • Public
  • Public/Protected
  • All
Menu

Factory class for transactions to interact with the Vote program

Hierarchy

  • VoteProgram

Index

Constructors

Properties

programId: PublicKey

Public key that identifies the Vote program

space: number

Max space of a Vote account

This is generated from the solana-vote-program VoteState struct as VoteState::size_of(): https://docs.rs/solana-vote-program/1.9.5/solana_vote_program/vote_state/struct.VoteState.html#method.size_of

Methods

  • Generate a transaction that authorizes a new Voter or Withdrawer on the Vote account.

    Parameters

    Returns Transaction

  • Generate a transaction that creates a new Vote account.

    Parameters

    Returns Transaction

Generated using TypeDoc