Options
All
  • Public
  • Public/Protected
  • All
Menu

VoteAccount class

Hierarchy

  • VoteAccount

Index

Constructors

constructor

Properties

authorizedVoterPubkey

authorizedVoterPubkey: PublicKey

authorizedWithdrawerPubkey

authorizedWithdrawerPubkey: PublicKey

commission

commission: number

credits

credits: number

epoch

epoch: number

epochCredits

epochCredits: EpochCredits[]

lastEpochCredits

lastEpochCredits: number

nodePubkey

nodePubkey: PublicKey

rootSlot

rootSlot: null | number

votes

votes: Lockout[]

Methods

Static fromAccountData

  • 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