getTransactions method

Future getTransactions({
  1. String? start,
  2. int? limit,
})

Transactions ///

Implementation

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

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