getLargestAccounts method

Future<List<LargeAccount>> getLargestAccounts({
  1. GetLargestAccountsConfig? config,
})

Returns the 20 largest accounts, by lamport balance (results may be cached up to two hours).

Implementation

Future<List<LargeAccount>> getLargestAccounts({
  final GetLargestAccountsConfig? config,
}) async =>
    (await getLargestAccountsRaw(config: config)).result!.value!;