[#FinalizeAndExtractPSBT]
= FinalizeAndExtractPSBT
:mrdocs:

Finalizes a PSBT if possible, and extracts it to a CMutableTransaction if it could be finalized&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
FinalizeAndExtractPSBT(
    xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction]& psbtx,
    xref:CMutableTransaction.adoc[CMutableTransaction]& result);
----

== Return Value

True if we successfully extracted the transaction, false otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *psbtx* [in]
| PartiallySignedTransaction
| *result* [out]
| CMutableTransaction representing the complete transaction, if successful
|===


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