getTransactionsEndpont method

String getTransactionsEndpont({
  1. required int start,
  2. required String address,
  3. int limit = 10,
  4. int? startTimestamp,
  5. int? endTimestamp,
  6. String? type,
  7. String? method,
  8. int? block,
  9. List<String>? tokens,
})

Implementation

String getTransactionsEndpont({
  required int start,
  required String address,
  int limit = 10,
  int? startTimestamp,
  int? endTimestamp,
  String? type,
  String? method,
  int? block,
  List<String>? tokens,
}) {
  return "$baseURL/transaction?start=${start.asQueryString}&limit=${limit.asQueryString}&address=${address.asQueryString}&start_timestamp=${startTimestamp.asQueryString}&end_timestamp=${endTimestamp.asQueryString}&type=${type.asQueryString}&method=${method.asQueryString}&block=${block.asQueryString}&tokens=${tokens.asQueryString}";
}