[#PrecomputePSBTData]
= PrecomputePSBTData
:mrdocs:

Compute a PrecomputedTransactionData object from a psbt&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;PrecomputedTransactionData&gt;
PrecomputePSBTData(xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction] const& psbt);
----

== Return Value

The precomputed data, or nullopt if it cannot be computed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *psbt*
| The PSBT to precompute data for&period;
|===


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