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