Query a list of events with one or more filters (OR semantics), newest first, honoring the smallest limit present.
limit
Candidate events.
NIP-01 filters.
Matching events sorted by created_at descending.
created_at
queryNostrEvents(MOCK_EVENTS, [{ kinds: [0], limit: 2 }]).length === 2; Copy
queryNostrEvents(MOCK_EVENTS, [{ kinds: [0], limit: 2 }]).length === 2;
Query a list of events with one or more filters (OR semantics), newest first, honoring the smallest
limitpresent.