js-waku/modules/proto.html
status-im-auto 14724825b0 Updates
2022-01-14 12:44:11 +00:00

1 line
102 KiB
HTML

<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>proto | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">js-waku</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">js-waku</a></li><li><a href="proto.html">proto</a></li></ul><h1>Namespace proto</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumerations</h3><ul class="tsd-index-list"><li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/proto.HistoryResponse_Error.html" class="tsd-kind-icon">History<wbr/>Response_<wbr/>Error</a></li><li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/proto.PagingInfo_Direction.html" class="tsd-kind-icon">Paging<wbr/>Info_<wbr/>Direction</a></li></ul></section><section class="tsd-index-section "><h3>Interfaces</h3><ul class="tsd-index-list"><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.ContentFilter.html" class="tsd-kind-icon">Content<wbr/>Filter</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.HistoryQuery.html" class="tsd-kind-icon">History<wbr/>Query</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.HistoryRPC.html" class="tsd-kind-icon">HistoryRPC</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.HistoryResponse.html" class="tsd-kind-icon">History<wbr/>Response</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.Index.html" class="tsd-kind-icon">Index</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.PagingInfo.html" class="tsd-kind-icon">Paging<wbr/>Info</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.WakuMessage.html" class="tsd-kind-icon">Waku<wbr/>Message</a></li></ul></section><section class="tsd-index-section "><h3>Variables</h3><ul class="tsd-index-list"><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#ContentFilter-1" class="tsd-kind-icon">Content<wbr/>Filter</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#HistoryQuery-1" class="tsd-kind-icon">History<wbr/>Query</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#HistoryRPC-1" class="tsd-kind-icon">HistoryRPC</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#HistoryResponse-1" class="tsd-kind-icon">History<wbr/>Response</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#Index-1" class="tsd-kind-icon">Index</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#PagingInfo-1" class="tsd-kind-icon">Paging<wbr/>Info</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#WakuMessage-1" class="tsd-kind-icon">Waku<wbr/>Message</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Variables</h2><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="ContentFilter-1" class="tsd-anchor"></a><h3>Content<wbr/>Filter</h3><div class="tsd-signature tsd-kind-icon">Content<wbr/>Filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L275">src/proto/waku/v2/store.ts:275</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L286">src/proto/waku/v2/store.ts:286</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L276">src/proto/waku/v2/store.ts:276</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L304">src/proto/waku/v2/store.ts:304</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L319">src/proto/waku/v2/store.ts:319</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;contentTopic&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L312">src/proto/waku/v2/store.ts:312</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#ContentFilter-1" class="tsd-signature-type" data-tsd-kind="Variable">ContentFilter</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="HistoryQuery-1" class="tsd-anchor"></a><h3>History<wbr/>Query</h3><div class="tsd-signature tsd-kind-icon">History<wbr/>Query<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L338">src/proto/waku/v2/store.ts:338</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L361">src/proto/waku/v2/store.ts:361</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L339">src/proto/waku/v2/store.ts:339</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L393">src/proto/waku/v2/store.ts:393</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L429">src/proto/waku/v2/store.ts:429</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>contentFilters<span class="tsd-signature-symbol">?: </span>{ contentTopic?: string | undefined; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>endTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pagingInfo<span class="tsd-signature-symbol">?: </span>{ pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; }<span class="tsd-signature-symbol">; </span>pubSubTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>startTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>contentFilters<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ contentTopic?: string | undefined; }<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;contentFilters&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;contentTopic&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;contentFilters&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>endTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pagingInfo<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>cursor<span class="tsd-signature-symbol">?: </span>{ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }<span class="tsd-signature-symbol">; </span>direction<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.PagingInfo_Direction.html" class="tsd-signature-type" data-tsd-kind="Enumeration">PagingInfo_Direction</a><span class="tsd-signature-symbol">; </span>pageSize<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ pageSize?: number | undefined; cursor?: ({ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } &amp; { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } &amp; Record&lt;...&gt;) | undefined; direction?: PagingInfo_Direction |...<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;pagingInfo&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubSubTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>startTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L409">src/proto/waku/v2/store.ts:409</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="HistoryRPC-1" class="tsd-anchor"></a><h3>HistoryRPC</h3><div class="tsd-signature tsd-kind-icon">HistoryRPC<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L542">src/proto/waku/v2/store.ts:542</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L562">src/proto/waku/v2/store.ts:562</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L543">src/proto/waku/v2/store.ts:543</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L586">src/proto/waku/v2/store.ts:586</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L612">src/proto/waku/v2/store.ts:612</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>query<span class="tsd-signature-symbol">?: </span>{ pubSubTopic?: string | undefined; contentFilters?: { contentTopic?: string | undefined; }[] | undefined; pagingInfo?: { pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | un...<span class="tsd-signature-symbol">; </span>requestId<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>response<span class="tsd-signature-symbol">?: </span>{ messages?: { payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }[] | undefined; pagingInfo?: { ...; } | undefined; error?: HistoryResponse_Error | undefined; }<span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>query<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentFilters<span class="tsd-signature-symbol">?: </span>{ contentTopic?: string | undefined; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>endTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pagingInfo<span class="tsd-signature-symbol">?: </span>{ pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; }<span class="tsd-signature-symbol">; </span>pubSubTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>startTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ pubSubTopic?: string | undefined; contentFilters?: ({ contentTopic?: string | undefined; }[] &amp; ({ contentTopic?: string | undefined; } &amp; { contentTopic?: string | undefined; } &amp; Record&lt;Exclude&lt;...&gt;, never&gt;)[] &amp; Record&lt;...&gt;) | undefined; pagingInfo?: ({ ...; } &amp; ... 1 more ... &amp; Record&lt;...&gt;) | undefined; startTime?...<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;query&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryQuery-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryQuery</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>requestId<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>response<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>error<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.HistoryResponse_Error.html" class="tsd-signature-type" data-tsd-kind="Enumeration">HistoryResponse_Error</a><span class="tsd-signature-symbol">; </span>messages<span class="tsd-signature-symbol">?: </span>{ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>pagingInfo<span class="tsd-signature-symbol">?: </span>{ pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; }<span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ messages?: ({ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }[] &amp; ({ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; } &amp; { ...; } &amp; Record&lt;...&gt;)[] ...<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;response&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L598">src/proto/waku/v2/store.ts:598</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryRPC-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryRPC</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="HistoryResponse-1" class="tsd-anchor"></a><h3>History<wbr/>Response</h3><div class="tsd-signature tsd-kind-icon">History<wbr/>Response<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L450">src/proto/waku/v2/store.ts:450</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L467">src/proto/waku/v2/store.ts:467</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L451">src/proto/waku/v2/store.ts:451</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L491">src/proto/waku/v2/store.ts:491</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L523">src/proto/waku/v2/store.ts:523</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>error<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.HistoryResponse_Error.html" class="tsd-signature-type" data-tsd-kind="Enumeration">HistoryResponse_Error</a><span class="tsd-signature-symbol">; </span>messages<span class="tsd-signature-symbol">?: </span>{ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>pagingInfo<span class="tsd-signature-symbol">?: </span>{ pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; }<span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>error<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.HistoryResponse_Error.html" class="tsd-signature-type" data-tsd-kind="Enumeration">HistoryResponse_Error</a><span class="tsd-signature-symbol">; </span>messages<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>payload<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>timestamp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>version<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>payload<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>timestamp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>version<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;messages&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;messages&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>payload<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>timestamp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>version<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pagingInfo<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>cursor<span class="tsd-signature-symbol">?: </span>{ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }<span class="tsd-signature-symbol">; </span>direction<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.PagingInfo_Direction.html" class="tsd-signature-type" data-tsd-kind="Enumeration">PagingInfo_Direction</a><span class="tsd-signature-symbol">; </span>pageSize<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ pageSize?: number | undefined; cursor?: ({ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } &amp; { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } &amp; Record&lt;...&gt;) | undefined; direction?: PagingInfo_Direction |...<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;pagingInfo&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L505">src/proto/waku/v2/store.ts:505</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#HistoryResponse-1" class="tsd-signature-type" data-tsd-kind="Variable">HistoryResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="Index-1" class="tsd-anchor"></a><h3>Index</h3><div class="tsd-signature tsd-kind-icon">Index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L120">src/proto/waku/v2/store.ts:120</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L134">src/proto/waku/v2/store.ts:134</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L121">src/proto/waku/v2/store.ts:121</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L158">src/proto/waku/v2/store.ts:158</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L182">src/proto/waku/v2/store.ts:182</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>digest<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>receivedTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>senderTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>digest<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>receivedTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>senderTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L170">src/proto/waku/v2/store.ts:170</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="PagingInfo-1" class="tsd-anchor"></a><h3>Paging<wbr/>Info</h3><div class="tsd-signature tsd-kind-icon">Paging<wbr/>Info<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L195">src/proto/waku/v2/store.ts:195</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L212">src/proto/waku/v2/store.ts:212</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L196">src/proto/waku/v2/store.ts:196</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L236">src/proto/waku/v2/store.ts:236</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L257">src/proto/waku/v2/store.ts:257</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>cursor<span class="tsd-signature-symbol">?: </span>{ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }<span class="tsd-signature-symbol">; </span>direction<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.PagingInfo_Direction.html" class="tsd-signature-type" data-tsd-kind="Enumeration">PagingInfo_Direction</a><span class="tsd-signature-symbol">; </span>pageSize<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>cursor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>digest<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>receivedTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>senderTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span>{ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }<span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;cursor&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#Index-1" class="tsd-signature-type" data-tsd-kind="Variable">Index</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>direction<span class="tsd-signature-symbol">?: </span><a href="../enums/proto.PagingInfo_Direction.html" class="tsd-signature-type" data-tsd-kind="Enumeration">PagingInfo_Direction</a><span class="tsd-signature-symbol">; </span>pageSize<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/store.ts#L246">src/proto/waku/v2/store.ts:246</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#PagingInfo-1" class="tsd-signature-type" data-tsd-kind="Variable">PagingInfo</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-namespace"><a id="WakuMessage-1" class="tsd-anchor"></a><h3>Waku<wbr/>Message</h3><div class="tsd-signature tsd-kind-icon">Waku<wbr/>Message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>decode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>encode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fromPartial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>toJSON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/message.ts#L23">src/proto/waku/v2/message.ts:23</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>decode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">decode<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/message.ts#L43">src/proto/waku/v2/message.ts:43</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Reader</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></h4></li></ul></li><li class="tsd-parameter"><h5>encode<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">encode<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a>, writer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Writer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/message.ts#L24">src/proto/waku/v2/message.ts:24</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></h5></li><li><h5>writer: <span class="tsd-signature-type">Writer</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Writer</span></h4></li></ul></li><li class="tsd-parameter"><h5>fromJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">fromJSON<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/message.ts#L70">src/proto/waku/v2/message.ts:70</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></h4></li></ul></li><li class="tsd-parameter"><h5>from<wbr/>Partial<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">from<wbr/>Partial<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/message.ts#L98">src/proto/waku/v2/message.ts:98</a></li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>I<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>payload<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>timestamp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>version<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>contentTopic<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>payload<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">; </span>timestamp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>version<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>object: <span class="tsd-signature-type" data-tsd-kind="Type parameter">I</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></h4></li></ul></li><li class="tsd-parameter"><h5>toJSON<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/554ed4d/src/proto/waku/v2/message.ts#L83">src/proto/waku/v2/message.ts:83</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="proto.html#WakuMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">WakuMessage</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></div></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="discovery.html">discovery</a></li><li class=" tsd-kind-namespace"><a href="enr.html">enr</a></li><li class="current tsd-kind-namespace"><a href="proto.html">proto</a></li><li class=" tsd-kind-namespace"><a href="utils.html">utils</a></li><li class=" tsd-kind-namespace"><a href="waku.html">waku</a></li><li class=" tsd-kind-namespace"><a href="waku_light_push.html">waku_<wbr/>light_<wbr/>push</a></li><li class=" tsd-kind-namespace"><a href="waku_message.html">waku_<wbr/>message</a></li><li class=" tsd-kind-namespace"><a href="waku_relay.html">waku_<wbr/>relay</a></li><li class=" tsd-kind-namespace"><a href="waku_store.html">waku_<wbr/>store</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/proto.HistoryResponse_Error.html" class="tsd-kind-icon">History<wbr/>Response_<wbr/>Error</a></li><li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/proto.PagingInfo_Direction.html" class="tsd-kind-icon">Paging<wbr/>Info_<wbr/>Direction</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.ContentFilter.html" class="tsd-kind-icon">Content<wbr/>Filter</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.HistoryQuery.html" class="tsd-kind-icon">History<wbr/>Query</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.HistoryRPC.html" class="tsd-kind-icon">HistoryRPC</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.HistoryResponse.html" class="tsd-kind-icon">History<wbr/>Response</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.Index.html" class="tsd-kind-icon">Index</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.PagingInfo.html" class="tsd-kind-icon">Paging<wbr/>Info</a></li><li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/proto.WakuMessage.html" class="tsd-kind-icon">Waku<wbr/>Message</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#ContentFilter-1" class="tsd-kind-icon">Content<wbr/>Filter</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#HistoryQuery-1" class="tsd-kind-icon">History<wbr/>Query</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#HistoryRPC-1" class="tsd-kind-icon">HistoryRPC</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#HistoryResponse-1" class="tsd-kind-icon">History<wbr/>Response</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#Index-1" class="tsd-kind-icon">Index</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#PagingInfo-1" class="tsd-kind-icon">Paging<wbr/>Info</a></li><li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="proto.html#WakuMessage-1" class="tsd-kind-icon">Waku<wbr/>Message</a></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>