searchEvents method

  1. @override
Future<Iterable<Nip01Event>> searchEvents({
  1. List<String>? ids,
  2. List<String>? authors,
  3. List<int>? kinds,
  4. Map<String, List<String>>? tags,
  5. int? since,
  6. int? until,
  7. String? search,
  8. int limit = 100,
})
override

search events
ids - list of event ids
authors - list of authors pubKeys
kinds - list of kinds
tags - map of tags
since - timestamp
until - timestamp
search - search string to match against content
limit - limit of results
returns list of events

Implementation

@override
Future<Iterable<Nip01Event>> searchEvents({
  List<String>? ids,
  List<String>? authors,
  List<int>? kinds,
  Map<String, List<String>>? tags,
  int? since,
  int? until,
  String? search,
  int limit = 100,
}) async {
  throw UnimplementedError();
}