Optional options: waku_filter.CreateOptionsPrivate subscriptionsPrivate addRegister a decryption key to attempt decryption of messages received in any subsequent subscribe call. This can either be a private key for asymmetric encryption or a symmetric key. WakuStore will attempt to decrypt messages using both methods.
Strings must be in hex format.
Optional options: { contentTopics?: string[]; method?: DecryptionMethod }Optional contentOptional method?: DecryptionMethodDelete a decryption key so that it cannot be used in future subscribe calls
Strings must be in hex format.
Private getPrivate newPrivate onPrivate pushPrivate removeUnsubscribe function that can be used to end the subscription.
A function that will be called on each message returned by the filter.
Array of ContentTopics to subscribe to. If empty, no messages will be returned from the filter.
Optional opts: FilterSubscriptionOptsThe FilterSubscriptionOpts used to narrow which messages are returned, and which peer to connect to.
Private unsubscribeGenerated using TypeDoc
Implements client side of the Waku v2 Filter protocol.
Note this currently only works in NodeJS when the Waku node is listening on a port, see: