Preparing search index...
The search index is not available
@solana/web3.js
@solana/web3.js
VoteAccount
Class VoteAccount
VoteAccount class
Index
Properties
authorized
Voters
authorized
Withdrawer
commission
epoch
Credits
last
Timestamp
node
Pubkey
prior
Voters
root
Slot
votes
Methods
from
Account
Data
Properties
authorized
Voters
authorizedVoters
:
Readonly
<
{
authorizedVoter
:
PublicKey
;
epoch
:
number
}
>
[]
authorized
Withdrawer
authorizedWithdrawer
:
PublicKey
commission
commission
:
number
epoch
Credits
epochCredits
:
Readonly
<
{
credits
:
number
;
epoch
:
number
;
prevCredits
:
number
}
>
[]
last
Timestamp
lastTimestamp
:
Readonly
<
{
slot
:
number
;
timestamp
:
number
}
>
node
Pubkey
nodePubkey
:
PublicKey
prior
Voters
priorVoters
:
Readonly
<
{
authorizedPubkey
:
PublicKey
;
epochOfLastAuthorizedSwitch
:
number
;
targetEpoch
:
number
;
}
,
>
[]
root
Slot
rootSlot
:
null
|
number
votes
votes
:
Lockout
[]
Methods
Static
from
Account
Data
fromAccountData
(
buffer
:
number
[]
|
Uint8Array
|
Buffer
)
:
VoteAccount
Deserialize VoteAccount from the account data.
Parameters
buffer
:
number
[]
|
Uint8Array
|
Buffer
account data
Returns
VoteAccount
VoteAccount
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
authorized
Voters
authorized
Withdrawer
commission
epoch
Credits
last
Timestamp
node
Pubkey
prior
Voters
root
Slot
votes
Methods
from
Account
Data
@solana/web3.js
Loading...
VoteAccount class