SolanaRPCGetVoteAccounts class
Returns the account info and associated stake for all the voting accounts in the current bank. https://solana.com/docs/rpc/http/getvoteaccounts
- Inheritance
-
- Object
- LoockupLedgerRequest
- SolanaRPCRequest<
VoteAccountStatus> - SolanaRPCGetVoteAccounts
Constructors
- SolanaRPCGetVoteAccounts({SolAddress? votePubkey, bool? keepUnstakedDelinquents, int? delinquentSlotDistance, Commitment? commitment})
-
const
Properties
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- delinquentSlotDistance → int?
-
Specify the number of slots behind the tip that a validator must fall to be considered delinquent.
NOTE: For the sake of consistency between ecosystem products,
it is not recommended that this argument be specified.
final
- encoding → SolanaRPCEncoding?
-
The encoding format of the data.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- keepUnstakedDelinquents → bool?
-
Do not filter out delinquent validators with no stake
final
- method → String
-
getVoteAccounts
no setteroverride
- minContextSlot → MinContextSlot?
-
The minimum context slot for the request.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → String?
-
A validation property (not used in this implementation).
no setterinherited
- votePubkey → SolAddress?
-
Only return results for this validator vote address (base-58 encoded)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
dynamic result) → VoteAccountStatus -
Converts a dynamic response to the generic type
T
.override -
toJson(
) → List -
Converts the request to JSON format.
override
-
toRequest(
int requestId) → SolanaRequestDetails -
Converts the request parameters to a SolanaRequestDetails object.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited