[#node-TxOrphanage-GetTx] = xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::GetTx :relfileprefix: ../../ :mrdocs: Get a transaction by its witness txid == Synopsis Declared in `<node/txorphanage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:CTransactionRef.adoc[CTransactionRef] GetTx(xref:Wtxid.adoc[Wtxid] const& wtxid) const = 0; ---- == Return Value The orphan transaction, or nullptr if it is not stored. == Parameters [cols="1,4"] |=== | Name| Description | *wtxid* | Witness txid of the orphan to retrieve. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#