getAccountInfo method

Future<AccountInfo?> getAccountInfo(
  1. Pubkey pubkey, {
  2. GetAccountInfoConfig? config,
})

Returns all information associated with the account of the provided pubkey.

Implementation

Future<AccountInfo?> getAccountInfo(
  final Pubkey pubkey, {
  final GetAccountInfoConfig? config,
}) async =>
    (await getAccountInfoRaw(pubkey, config: config)).result?.value;