getTokensAndNFTs static method

Future getTokensAndNFTs(
  1. String address,
  2. List<String> tokenAddresses
)

Get tokens and nfts

address is user's public address

tokenAddresses the specific tokens' addresses

Implementation

static Future<dynamic> getTokensAndNFTs(String address, List<String> tokenAddresses) async {
  const method = "particle_getTokensAndNFTs";
  final params = [address, tokenAddresses];
  return await EvmService.rpc(method, params);
}