[#CTxMemPool-GetIter-05] = xref:CTxMemPool.adoc[CTxMemPool]::GetIter :relfileprefix: ../ :mrdocs: Returns an iterator to the given witness hash, if found == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1b5a2728), requires_capability(0x7f2e2721b738), requires_capability(0x7f2e421cce48), requires_capability(0x7f2e2880be08), requires_capability(0x7f2e3212f198), requires_capability(0x7f2e347f7828), requires_capability(0x7f2e2b05bc98), requires_capability(0x7f2e2bee3338)]] std::optional<txiter> GetIter(xref:Wtxid.adoc[Wtxid] const& wtxid) const; ---- == Return Value An iterator to the entry, or std::nullopt if not present. == Parameters [cols="1,4"] |=== | Name| Description | *wtxid* | The wtxid to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#