SolanaRequestGetMultipleAccounts class

Returns the account information for a list of Pubkeys. https://solana.com/docs/rpc/http/getmultipleaccounts

Inheritance

Constructors

SolanaRequestGetMultipleAccounts.new({required List<SolAddress> pubkeys, RPCDataSliceConfig? dataSlice, Commitment? commitment, MinContextSlot? minContextSlot, SolanaRequestEncoding? encoding})
const

Properties

commitment Commitment?
The desired commitment level for the request.
finalinherited
dataSlice RPCDataSliceConfig?
Request a slice of the account's data.
final
encoding SolanaRequestEncoding?
The encoding format of the data.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
method String
getMultipleAccounts
no setteroverride
minContextSlot MinContextSlot?
The minimum context slot for the request.
finalinherited
pubkeys List<SolAddress>
An array of Pubkeys to query, as base-58 encoded strings (up to a maximum of 100)
final
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildRequest(int requestID) SolanaRequestDetails
Converts the request parameters to a SolanaRequestDetails object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
inherited
toJson() List
Converts the request parameters to a JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

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