VoteAccountInfo class

Information describing a vote account

Constructors

VoteAccountInfo({required SolAddress votePubkey, required SolAddress nodePubkey, required int activatedStake, required bool epochVoteAccount, required List<List<int>> epochCredits, required int commission, required int lastVote})
const
VoteAccountInfo.fromJson(Map<String, dynamic> json)
factory

Properties

activatedStake int
The stake, in lamports, delegated to this vote account and activated
final
commission int
A percentage (0-100) of rewards payout owed to the voter
final
epochCredits List<List<int>>
Recent epoch voting credit history for this voter
final
epochVoteAccount bool
Whether the vote account is staked for this epoch
final
hashCode int
The hash code for this object.
no setterinherited
lastVote int
Most recent slot voted on by this vote account
final
nodePubkey SolAddress
Identity public key of the node voting with this account
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
votePubkey SolAddress
Public key of the vote account
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited