[#CTxMemPool-GetIter-08] = xref:CTxMemPool.adoc[CTxMemPool]::GetIter :relfileprefix: ../ :mrdocs: Returns an iterator to the given hash, if found == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1b5a2668), requires_capability(0x7f2e2721b678), requires_capability(0x7f2e421ccd88), requires_capability(0x7f2e2880bd48), requires_capability(0x7f2e3212f0d8), requires_capability(0x7f2e347f7768), requires_capability(0x7f2e2b05bbd8), requires_capability(0x7f2e2bee3278)]] std::optional<txiter> GetIter(xref:Txid.adoc[Txid] const& txid) const; ---- == Return Value An iterator to the entry, or std::nullopt if not present. == Parameters [cols="1,4"] |=== | Name| Description | *txid* | The txid to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#