A structure for PSBTs which contain per‐input information
Synopsis
Declared in <psbt.h>
class PSBTInput;
Member Functions
Name |
Description |
|
Constructors |
Populate signature data from this input's fields. |
|
Copy relevant fields from the given signature data into this input. |
|
Return the outpoint this input spends. |
|
Retrieves the UTXO for this input |
|
Return the PSBT version of this input. |
|
Report whether this input carries any signatures. |
|
Merge another input's fields into this one. |
|
Serialize this input to a stream. |
|
Deserialize this input from a stream. |
|
Compare two inputs for equality field by field. |
Data Members
Name |
Description |
The finalized scriptSig for this input. |
|
The finalized script witness for this input. |
|
HASH160 preimages keyed by their hash. |
|
HASH256 preimages keyed by their hash. |
|
BIP32 derivation paths keyed by public key. |
|
The required height‐based locktime for this input (PSBTv2). |
|
MuSig2 partial signatures; keyed by aggregate pubkey and script leaf hash, valued by participant pubkey to partial signature. |
|
MuSig2 participant public keys keyed by aggregate public key. |
|
MuSig2 public nonces; keyed by aggregate pubkey and script leaf hash, valued by participant pubkey to pubnonce. |
|
Proprietary key‐value records. |
|
Taproot BIP32 derivation paths keyed by x‐only public key. |
|
Taproot internal key. |
|
Taproot key‐path signature. |
|
Taproot merkle root. |
|
Taproot script‐path signatures keyed by output key and leaf hash. |
|
Taproot leaf scripts keyed by control block and leaf version. |
|
The full previous transaction for a non‐witness UTXO. |
|
Partial signatures keyed by key id. |
|
The previous output index spent by this input (PSBTv2). |
|
The previous transaction id spent by this input (PSBTv2). |
|
The redeem script for a P2SH input. |
|
RIPEMD160 preimages keyed by their hash. |
|
The input sequence number (PSBTv2). |
|
SHA256 preimages keyed by their hash. |
|
The sighash type requested for this input. |
|
The required time‐based locktime for this input (PSBTv2). |
|
Unknown key‐value pairs preserved across round‐trips. |
|
The witness script for a P2WSH input. |
|
The spent output for a witness UTXO. |
Non-Member Functions
Name |
Description |
Checks whether a PSBTInput is already signed by checking for non‐null finalized fields. |
Created with MrDocs