[#PartiallySignedTransaction-GetUnsignedTx]
= xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction]::GetUnsignedTx
:relfileprefix: ../
:mrdocs:

Reconstruct the unsigned transaction described by this PSBT&period;

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;CMutableTransaction&gt;
GetUnsignedTx() const;
----

== Return Value

The unsigned transaction, or nullopt if it cannot be built&period;


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