Keys that will be used to decrypt messages.
It can be Asymmetric Private Keys and Symmetric Keys in the same array, all keys will be tried with both methods.
The number of message per page.
The peer to query. If undefined, a pseudo-random peer is selected from the connected Waku Store peers.
The pubsub topic to pass to the query. See Waku v2 Topic Usage Recommendations.
Retrieve messages with a timestamp within the provided values.
Callback called on pages of stored messages as they are retrieved.
Allows for a faster access to the results as it is called as soon as a page is received. Traversal of the pages is done automatically so this function will invoked for each retrieved page.
If the call on a page returns
true, then traversal of the pages is aborted.
For example, this can be used for the caller to stop the query after a
specific message is found.
Generated using TypeDoc