PartiallySignedTransaction::PartiallySignedTransaction

Constructors

Synopses

Declared in <psbt.h>

Construct a PSBT wrapping the given transaction.

explicit
PartiallySignedTransaction(
    CMutableTransaction const& tx,
    uint32_t version = 2);
» more...

Construct a PSBT by deserializing it from a stream.

template<typename Stream>
PartiallySignedTransaction(
    deserialize_type dtag,
    Stream& s);
» more...

Parameters

NameDescription
txThe transaction to wrap.
versionThe PSBT version to use.
dtagTag selecting the deserializing constructor.
sThe input stream.