getAccountTransactions method

Future getAccountTransactions(
  1. String address, {
  2. String? start,
  3. int? limit,
})

Implementation

Future<dynamic> getAccountTransactions(String address, {String? start, int? limit}) async {
  final params = <String, dynamic>{};
  if (start != null) params["start"] = start;
  if (limit != null) params["limit"] = limit;

  final path = "$endpoint/accounts/$address/transactions";
  final resp = await http.get(path, queryParameters: params);
  return resp.data;
}