GetMultipleAccounts class
Get Multiple Accounts
A codec for getMultipleAccounts
JSON RPC methods.
- Inheritance
-
- Object
- JsonRpcMethod<
Map< String, dynamic> , JsonRpcResponseContext<List< >AccountInfo?> > - JsonRpcContextMethod<
List, List< AccountInfo?> > - JsonRpcContextMethod<
List, List< AccountInfo?> > - JsonRpcListContextMethod<
Map< String, dynamic> ?, AccountInfo?> - GetMultipleAccounts
Constructors
-
GetMultipleAccounts.new(List<
String> pubkeys, {GetMultipleAccountsConfig? config}) -
Creates a codec for
getMultipleAccounts
JSON RPC methods. -
GetMultipleAccounts.map(Iterable<
Pubkey> pubkeys, {GetMultipleAccountsConfig? config}) -
factory
Properties
- config → Serializable?
-
The parameter configurations object.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The JSON RPC method name,
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ List<
Object?> -
The ordered parameter values.
finalinherited
Methods
-
decoder(
Map< String, dynamic> value) → JsonRpcResponseContext<List< AccountInfo?> > -
Decodes the
result
property of a successful JSON RPC response.inherited -
itemDecoder(
Map< String, dynamic> ? item) → AccountInfo? -
Decodes an item in the JSON RPC List response.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
params(
[Commitment? commitment]) → Object? -
Returns the JSON RPC request's
params
property value.inherited -
request(
[Commitment? commitment]) → JsonRpcRequest -
Creates a JsonRpcRequest to invoke method with params. The
commitment
level is provided as a default value to all methods that query bank state.inherited -
response(
Map< String, dynamic> json) → JsonRpcResponse<JsonRpcResponseContext< List< >AccountInfo?> > -
Parses the
json
RPC response and returns the result.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
valueDecoder(
List value) → List< AccountInfo?> -
Decodes the
value
property of a successful JSON RPC response-context.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited