Constructors
Declared in <psbt.h>
Construct an input by deserializing it from a stream (PSBTv2).
template<typename Stream>
explicit
PSBTInput(
deserialize_type dtag,
Stream& s,
uint32_t psbt_version);
» more...
Construct an input for the given PSBT version and previous output.
explicit
PSBTInput(
uint32_t psbt_version,
Txid const& prev_txid,
uint32_t prev_out,
std::optional<uint32_t> sequence = std::nullopt);
» more...
| Name | Description |
|---|---|
| dtag | Tag selecting the deserializing constructor. |
| s | The input stream. |
| psbt_version | The PSBT version (must be 2). |
| prev_txid | The previous transaction id spent by this input. |
| prev_out | The previous output index spent by this input. |
| sequence | The optional sequence number. |