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