PSBTInput::PSBTInput

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

Synopsis

Declared in <psbt.h>

template<typename Stream>
explicit
PSBTInput(
    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).