queryEventsByFilter method

Future<Paged<List<SuiEvent>>> queryEventsByFilter(
  1. EventFilter filter, {
  2. String? cursor,
  3. int? limit,
  4. bool descendingOrder = false,
})

Implementation

Future<Paged<List<SuiEvent>>> queryEventsByFilter(
  EventFilter filter,
  {String? cursor,
  int? limit,
  bool descendingOrder = false}
) async {
  return await queryEvents(
    filter.toJson(),
    cursor: cursor,
    limit: limit,
    descendingOrder: descendingOrder
  );
}