[#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(0x7ff37b420038), requires_capability(0x7ff376fd79e8), requires_capability(0x7ff38def6c08), requires_capability(0x7ff3640f7c18), requires_capability(0x7ff3920f7f08), requires_capability(0x7ff37f5ca028), requires_capability(0x7ff37d0112a8), requires_capability(0x7ff374c14ab8)]] 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]#