getTransactions method

  1. @override
Future<TransactionsList> getTransactions({
  1. required Address address,
  2. required int count,
  3. String? fromLt,
})
override

Get list of transactions by address. Return TransactionsList or throw error

Implementation

@override
Future<TransactionsList> getTransactions({
  required Address address,
  required int count,
  String? fromLt,
}) async {
  if (_disposed) throw TransportCallAfterDisposeError();

  final res = await transport.getTransactions(
    address: address.address,
    count: count,
    fromLt: fromLt,
  );
  return TransactionsList.fromJson(jsonDecode(res));
}