getTRC10TransferList method

Future<JSON> getTRC10TransferList({
  1. required String address,
  2. required String trc10Id,
  3. int start = 0,
  4. int limit = 20,
  5. int direction = 0,
  6. int? start_timestamp,
  7. int? end_timestamp,
})

Implementation

Future<JSON> getTRC10TransferList({
  required String address,
  required String trc10Id,
  int start = 0,
  int limit = 20,
  int direction = 0,
  int? start_timestamp,
  int? end_timestamp,
}) {
  final endpoint =
      "$baseURL/transfer/token10?address=${address}&trc10Id=${trc10Id}&start=${start.asQueryString}&limit=${limit.asQueryString}&direction=${direction.asQueryString}&start_timestamp=${start_timestamp.asQueryString}&end_timestamp=${end_timestamp.asQueryString}";

  return getCall<JSON>(endpoint);
}