[#wallet-CWalletTx-GetWitnessHash] = xref:wallet.adoc[wallet]::xref:wallet/CWalletTx.adoc[CWalletTx]::GetWitnessHash :relfileprefix: ../../ :mrdocs: Return the witness txid of the canonical transaction. == Synopsis Declared in `<wallet/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:Wtxid.adoc[Wtxid] const& GetWitnessHash() const; ---- == Return Value The witness txid of the canonical transaction. [.small]#Created with https://www.mrdocs.com[MrDocs]#