getTokenLargestAccounts method
Future<List<TokenAmount> >
getTokenLargestAccounts(
- Pubkey mint, {
- GetTokenLargestAccountsConfig? config,
Returns the 20 largest accounts of a particular SPL Token type.
Implementation
Future<List<TokenAmount>> getTokenLargestAccounts(
final Pubkey mint, {
final GetTokenLargestAccountsConfig? config,
}) async =>
(await getTokenLargestAccountsRaw(mint, config: config)).result!.value!;