getWalletRecords method

Future<Map<String, dynamic>?> getWalletRecords()

Receive a list of deposits and withdrawals

Implementation

Future<Map<String, dynamic>?> getWalletRecords() async {
  var url = Uri.https(basePath, '/users/wallets/deposits/list');

  var response = await client.post(url, headers: headers);

  return jsonDecode(response.body);
}