[#CTxMemPool-get-0ebc] = xref:CTxMemPool.adoc[CTxMemPool]::get :relfileprefix: ../ :mrdocs: `get` overloads == Synopses Declared in `<txmempool.h>` Return a mempool transaction with a given hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTransactionRef.adoc[CTransactionRef] xref:CTxMemPool/get-0eb8.adoc[get](xref:Txid.adoc[Txid] const& hash) const; ---- [.small]#xref:CTxMemPool/get-0eb8.adoc[_» more..._]# Return a mempool transaction with a given witness hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTransactionRef.adoc[CTransactionRef] xref:CTxMemPool/get-0b.adoc[get](xref:Wtxid.adoc[Wtxid] const& hash) const; ---- [.small]#xref:CTxMemPool/get-0b.adoc[_» more..._]# == Return Value the tx if found, otherwise nullptr == Parameters [cols="1,4"] |=== | Name| Description | *hash* [in] | the txid |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#