[#wallet-CWalletTx-GetHash]
= xref:wallet.adoc[wallet]::xref:wallet/CWalletTx.adoc[CWalletTx]::GetHash
:relfileprefix: ../../
:mrdocs:

Return the txid of the canonical transaction&period;

== Synopsis

Declared in `&lt;wallet&sol;transaction&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:Txid.adoc[Txid] const&
GetHash() const;
----

== Return Value

The txid of the canonical transaction&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
