[#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(0x7ff37b4200f8), requires_capability(0x7ff376fd7aa8), requires_capability(0x7ff38def6cc8), requires_capability(0x7ff3640f7cd8), requires_capability(0x7ff3920f7fc8), requires_capability(0x7ff37f5ca0e8), requires_capability(0x7ff37d011368), requires_capability(0x7ff374c14b78)]] 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]#