getTokenLargestAccountsRaw method

Future<JsonRpcContextResponse<List<TokenAmount>>> getTokenLargestAccountsRaw(
  1. Pubkey mint, {
  2. GetTokenLargestAccountsConfig? config,
})

Returns the 20 largest accounts of a particular SPL Token type.

Implementation

Future<JsonRpcContextResponse<List<TokenAmount>>> getTokenLargestAccountsRaw(
  final Pubkey mint, {
  final GetTokenLargestAccountsConfig? config,
}) =>
    send(GetTokenLargestAccounts(mint, config: config));