• QueryOptions


cursor?: Cursor

Cursor as an index to start a query from. The cursor index will be exclusive (i.e. the message at the cursor index will not be included in the result). If undefined, the query will start from the beginning or end of the history, depending on the page direction.

pageDirection?: waku_store.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).



pageSize?: number

The number of message per page.



peerId?: PeerId

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

timeFilter?: waku_store.TimeFilter

Retrieve messages with a timestamp within the provided values.

Generated using TypeDoc