PSBTOutput::PSBTOutput

Construct an output by deserializing it from a stream (PSBTv2).

Synopsis

Declared in <psbt.h>

template<typename Stream>
explicit
PSBTOutput(
    deserialize_type dtag,
    Stream& s,
    uint32_t psbt_version);

Parameters

NameDescription
dtagTag selecting the deserializing constructor.
sThe input stream.
psbt_versionThe PSBT version (must be 2).