Options
All
  • Public
  • Public/Protected
  • All
Menu

VoteAccount class

Hierarchy

  • VoteAccount

Index

Constructors

Properties

authorizedVoters: AuthorizedVoter[]
authorizedWithdrawer: PublicKey
commission: number
epochCredits: EpochCredits[]
lastTimestamp: BlockTimestamp
nodePubkey: PublicKey
priorVoters: PriorVoter[]
rootSlot: null | number
votes: Lockout[]

Methods

  • fromAccountData(buffer: number[] | Uint8Array | Buffer): VoteAccount
  • Deserialize VoteAccount from the account data.

    Parameters

    • buffer: number[] | Uint8Array | Buffer

      account data

    Returns VoteAccount

    VoteAccount

Generated using TypeDoc