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

Name

Description

psbt

The PSBT containing the input.

input_index

The index of the input to check.

txdata

Precomputed transaction data used for verification.

Created with MrDocs