Checks whether a PSBTInput is already signed by doing script verification using final fields.
Declared in <psbt.h>
bool
PSBTInputSignedAndVerified(
PartiallySignedTransaction const& psbt,
unsigned int input_index,
PrecomputedTransactionData const* txdata);
True if the input is signed and verifies.
| Name | Description |
|---|---|
| psbt | The PSBT containing the input. |
| input_index | The index of the input to check. |
| txdata | Precomputed transaction data used for verification. |