getAccountInfo abstract method
Future<AccountResult>
getAccountInfo(
- String pubKey, {
- Commitment commitment = Commitment.finalized,
- Encoding? encoding,
- DataSlice? dataSlice,
- num? minContextSlot,
Returns all information associated with the account of provided Pubkey
pubKey
Pubkey of account to query, as base-58 encoded string
commitment
For commitment
parameter description see this document
Commitment.processed is not supported as commitment
.
encoding
dataSlice
Limit the returned account data using the provided offset:
minContextSlot
Set the minimum slot that the request can be evaluated at.
Implementation
Future<AccountResult> getAccountInfo(
String pubKey, {
Commitment commitment = Commitment.finalized,
Encoding? encoding,
DataSlice? dataSlice,
num? minContextSlot,
});