Documentation
    Preparing search index...

    Function queryNostrEvents

    • Query a list of events with one or more filters (OR semantics), newest first, honoring the smallest limit present.

      Parameters

      Returns NostrEvent[]

      Matching events sorted by created_at descending.

      queryNostrEvents(MOCK_EVENTS, [{ kinds: [0], limit: 2 }]).length === 2;