PSBTInputSignedAndVerified

Checks whether a PSBTInput is already signed by doing script verification using final fields.

Synopsis

Declared in <psbt.h>

bool
PSBTInputSignedAndVerified(
    PartiallySignedTransaction const& psbt,
    unsigned int input_index,
    PrecomputedTransactionData const* txdata);

Return Value

True if the input is signed and verifies.

Parameters

NameDescription
psbtThe PSBT containing the input.
input_indexThe index of the input to check.
txdataPrecomputed transaction data used for verification.