getWalletTokens method

Future<JSON> getWalletTokens({
  1. required String address,
  2. int asset_type = 0,
})

Implementation

Future<JSON> getWalletTokens({
  required String address,
  int asset_type = 0,
}) {
  final endpoint =
      "$baseURL/account/wallet?address=${address}&asset_type=${asset_type}";
  return getCall<JSON>(endpoint);
}