Construct an output for the given PSBT version, amount, and script.

Synopsis

Declared in <psbt.h>

explicit
PSBTOutput(
    uint32_t psbt_version,
    CAmount amount,
    CScript const& script);

Parameters

Name

Description

psbt_version

The PSBT version (0 or 2).

amount

The output amount.

script

The output script.

Created with MrDocs