listTransactions method

Future<ListTransactionsResponse> listTransactions(
  1. NwcConnection connection, {
  2. int? from,
  3. int? until,
  4. int? limit,
  5. int? offset,
  6. required bool unpaid,
  7. TransactionType? type,
})

Does a list_transactions request

Implementation

Future<ListTransactionsResponse> listTransactions(NwcConnection connection,
    {int? from,
    int? until,
    int? limit,
    int? offset,
    required bool unpaid,
    TransactionType? type}) async {
  return _executeRequest<ListTransactionsResponse>(
      connection,
      ListTransactionsRequest(
          from: from,
          until: until,
          limit: limit,
          offset: offset,
          unpaid: unpaid,
          type: type));
}