Interface QueryOptions

Hierarchy

  • QueryOptions

Properties

pageDirection?: PageDirection

The direction in which pages are retrieved:

Note: This does not affect the ordering of messages with the page (the oldest message is always first).

Default

BACKWARD

pageSize?: number

The number of message per page.

Default

DefaultPageSize

peerId?: PeerId

The peer to query. If undefined, a pseudo-random peer is selected from the connected Waku Store peers.

pubSubTopic?: string

The pubsub topic to pass to the query. See Waku v2 Topic Usage Recommendations.

timeFilter?: TimeFilter

Retrieve messages with a timestamp within the provided values.

Generated using TypeDoc