VoteAccount class

A list of vote accounts

Annotations
  • @JsonSerializable()

Constructors

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

Properties

activatedStake int
The stake, in lamports, delegated to this vote account and active in this epoch.
final
commission int
Percentage (0-100) of rewards payout owed to the vote account.
final
epochCredits List<EpochCredits>
History of how many credits earned by the end of each epoch, as an array of arrays containing: epoch, credits, previousCredits.
final
epochVoteAccount bool
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 String
Validator identity, as base-58 encoded string.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
votePubkey String
Vote account address, as base-58 encoded string.
final

Methods

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

Operators

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