loadEvents abstract method
Load visible events from cache with flexible filtering.
Parameters:
ids: event idspubKeys: author pubkeyskinds: event kindstags: tag filters, e.g.{'p': ['pubkey1'], 'e': ['eventid1']}since/until: created_at boundssearch: content search stringlimit: maximum number of returned events
Visibility rules apply here:
- only the latest visible replaceable/addressable winner is returned
- expired events are filtered out
- author-deleted events are filtered out
Implementation
Future<List<Nip01Event>> loadEvents({
List<String>? ids,
List<String>? pubKeys,
List<int>? kinds,
Map<String, List<String>>? tags,
int? since,
int? until,
String? search,
int? limit,
});