finalizepsbt
Summary
Finalize the inputs of a PSBT. If the transaction is fully signed, it will produce a
Description
Finalize the inputs of a PSBT. If the transaction is fully signed, it will produce a network serialized transaction which can be broadcast with sendrawtransaction. Otherwise a PSBT will be created which has the final_scriptSig and final_scriptwitness fields filled for inputs that are complete. Implements the Finalizer and Extractor roles.
Arguments
psbt(STR, required): A base64 string of a PSBTextract(BOOL): If true and the transaction is complete, extract and return the complete transaction in normal network serialization instead of the PSBT.
Results
value(OBJ): No description.psbt(STR, optional): The base64-encoded partially signed transaction if not extractedhex(STR_HEX, optional): The hex-encoded network transaction if extractedcomplete(BOOL): If the transaction has a complete set of signatures
Examples
qbit-cli finalizepsbt "psbt"