getMultipleAccounts method

Future<List<AccountInfo?>> getMultipleAccounts(
  1. List<Pubkey> pubkeys, {
  2. GetMultipleAccountsConfig? config,
})

Returns the account information for a list of Pubkeys.

Implementation

Future<List<AccountInfo?>> getMultipleAccounts(
  final List<Pubkey> pubkeys, {
  final GetMultipleAccountsConfig? config,
}) async =>
    (await getMultipleAccountsRaw(pubkeys, config: config)).result!.value!;