[#PSBTInputSignedAndVerified]
= PSBTInputSignedAndVerified
:mrdocs:

Checks whether a PSBTInput is already signed by doing script verification using final fields&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
PSBTInputSignedAndVerified(
    xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction] const& psbt,
    unsigned int input&lowbar;index,
    xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData] const* txdata);
----

== Return Value

True if the input is signed and verifies&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *psbt*
| The PSBT containing the input&period;
| *input&lowbar;index*
| The index of the input to check&period;
| *txdata*
| Precomputed transaction data used for verification&period;
|===


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