[#node-PSBTAnalysis]
= xref:node.adoc[node]::PSBTAnalysis
:relfileprefix: ../
:mrdocs:

Holds the results of AnalyzePSBT (miscellaneous information about a PSBT)

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct PSBTAnalysis;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:node/PSBTAnalysis/SetInvalid.adoc[`SetInvalid`] 
| Clears the analysis results and records an error message&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:node/PSBTAnalysis/error.adoc[`error`] 
| Error message
| xref:node/PSBTAnalysis/estimated_feerate.adoc[`estimated&lowbar;feerate`] 
| Estimated feerate (fee &sol; weight) of the transaction
| xref:node/PSBTAnalysis/estimated_vsize.adoc[`estimated&lowbar;vsize`] 
| Estimated weight of the transaction
| xref:node/PSBTAnalysis/fee.adoc[`fee`] 
| Amount of fee being paid by the transaction
| xref:node/PSBTAnalysis/inputs.adoc[`inputs`] 
| More information about the individual inputs of the transaction
| xref:node/PSBTAnalysis/next.adoc[`next`] 
| Which of the BIP 174 roles needs to handle the transaction next
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:node/AnalyzePSBT.adoc[`AnalyzePSBT`]
| Provides helpful miscellaneous information about where a PSBT is in the signing workflow&period;
|===


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