UpdatePSBTOutput

Updates a PSBTOutput with information from provider.

Synopsis

Declared in <psbt.h>

void
UpdatePSBTOutput(
    SigningProvider const& provider,
    PartiallySignedTransaction& psbt,
    int index);

Description

This fills in the redeem_script, witness_script, and hd_keypaths where possible.

Parameters

NameDescription
providerThe source of scripts and derivation information.
psbtThe PSBT containing the output.
indexThe index of the output to update.