Skip to content

Queries

Queries are methods that construct complex observable pipelines off of the EventStore

They are run inside the QueryStore which ensures there are not duplicate queries

SingleEventQuery

The SingleEventQuery can be used to subscribes to a single event

MultipleEventsQuery

The MultipleEventsQuery can be used to subscribes to a multiple events

ReplaceableQuery

The ReplaceableQuery can be used to subscribes to the latest version of a replaceable event

ReplaceableSetQuery

The ReplaceableSetQuery can be used to subscribe to an array of AddressPointer

TimelineQuery

The TimelineQuery can be used to subscribe a sorted array of events that match filters

ProfileQuery

Th ProfileQuery can be used to subscribe to a single pubkeys profile ( kind 0 )

MailboxesQuery

Th MailboxesQuery can be used to subscribe to a single pubkeys mailboxes ( kind 10002 )

ReactionsQuery

The ReactionsQuery can be used to subscribe to all NIP-25 reactions to an event