[#CTxMemPool-exists-07] = xref:CTxMemPool.adoc[CTxMemPool]::exists :relfileprefix: ../ :mrdocs: Returns whether a transaction with the given txid is in the mempool. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool exists(xref:Txid.adoc[Txid] const& txid) const; ---- == Return Value true if the transaction exists in the mempool. == Parameters [cols="1,4"] |=== | Name| Description | *txid* | The txid to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#