</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/waku-org/js-waku/blob/8deab1189/packages/dns-discovery/src/dns.ts#L148">packages/dns-discovery/src/dns.ts:148</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="_search"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>_search</span><ahref="#_search"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-private"><liclass="tsd-signature tsd-anchor-link"><aid="_search._search-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">_search</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">subdomain</span>, <spanclass="tsd-kind-parameter">context</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><ahref="_waku_enr.ENR.html"class="tsd-signature-type tsd-kind-class">ENR</a><spanclass="tsd-signature-symbol">></span><ahref="#_search._search-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Runs a recursive, randomized descent of the DNS tree to retrieve a single
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">subdomain</span>: <spanclass="tsd-signature-type">string</span></span></li><li><span><spanclass="tsd-kind-parameter">context</span>: <ahref="../types/_waku_interfaces.SearchContext.html"class="tsd-signature-type tsd-kind-type-alias">SearchContext</a></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><ahref="_waku_enr.ENR.html"class="tsd-signature-type tsd-kind-class">ENR</a><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/waku-org/js-waku/blob/8deab1189/packages/dns-discovery/src/dns.ts#L102">packages/dns-discovery/src/dns.ts:102</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getNextPeer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Next<wbr/>Peer</span><ahref="#getNextPeer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getNextPeer.getNextPeer-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Next<wbr/>Peer</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">enrTreeUrls</span>, <spanclass="tsd-kind-parameter">wantedNodeCapabilityCount</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">AsyncGenerator</span><spanclass="tsd-signature-symbol"><</span><ahref="../interfaces/_waku_interfaces.IEnr.html"class="tsd-signature-type tsd-kind-interface">IEnr</a><spanclass="tsd-signature-symbol">, </span><spanclass="tsd-signature-type">any</span><spanclass="tsd-signature-symbol">, </span><spanclass="tsd-signature-type">unknown</span><spanclass="tsd-signature-symbol">></span><ahref="#getNextPeer.getNextPeer-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns a list of verified peers listed in an EIP-1459 DNS tree. Method may
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">enrTreeUrls</span>: <spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol">[]</span></span></li><li><span><spanclass="tsd-kind-parameter">wantedNodeCapabilityCount</span>: <spanclass="tsd-signature-type">Partial</span><spanclass="tsd-signature-symbol"><</span><ahref="../interfaces/_waku_interfaces.NodeCapabilityCount.html"class="tsd-signature-type tsd-kind-interface">NodeCapabilityCount</a><spanclass="tsd-signature-symbol">></span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">AsyncGenerator</span><spanclass="tsd-signature-symbol"><</span><ahref="../interfaces/_waku_interfaces.IEnr.html"class="tsd-signature-type tsd-kind-interface">IEnr</a><spanclass="tsd-signature-symbol">, </span><spanclass="tsd-signature-type">any</span><spanclass="tsd-signature-symbol">, </span><spanclass="tsd-signature-type">unknown</span><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/waku-org/js-waku/blob/8deab1189/packages/dns-discovery/src/dns.ts#L77">packages/dns-discovery/src/dns.ts:77</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getPeers"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Peers</span><ahref="#getPeers"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getPeers.getPeers-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Peers</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">enrTreeUrls</span>, <spanclass="tsd-kind-parameter">wantedNodeCapabilityCount</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><ahref="../interfaces/_waku_interfaces.IEnr.html"class="tsd-signature-type tsd-kind-interface">IEnr</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">></span><ahref="#getPeers.getPeers-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns a list of verified peers listed in an EIP-1459 DNS tree. Method may