Construct an input for the given PSBT version and previous output.
Synopsis
Declared in <psbt.h>
explicit
PSBTInput(
uint32_t psbt_version,
Txid const& prev_txid,
uint32_t prev_out,
std::optional<uint32_t> sequence = std::nullopt);
Parameters
Name |
Description |
psbt_version |
The PSBT version (0 or 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. |
Created with MrDocs