Adds descriptor and derivation information to a PSBT and optionally signs it.
Synopsis
Declared in <wallet/scriptpubkeyman.h>
virtual
std::optional<common::PSBTError>
FillPSBT(
PartiallySignedTransaction& psbt,
PrecomputedTransactionData const& txdata,
common::PSBTFillOptions const& options,
int* n_signed = nullptr) const override;
Return Value
A PSBTError if filling failed, or nullopt on success.
Parameters
Name |
Description |
psbt |
The partially signed transaction to fill, updated in place. |
txdata |
Precomputed transaction data used during signing. |
options |
Options controlling what is filled in and whether to sign. |
n_signed |
If not null, set to the number of inputs signed. |
Created with MrDocs