descriptorprocesspsbt
Summary
Update all segwit inputs in a PSBT with information from output descriptors, the UTXO set or the mempool.
Description
Update all segwit inputs in a PSBT with information from output descriptors, the UTXO set or the mempool. Then, sign the inputs we are able to with information from the output descriptors.
Arguments
psbt(STR, required): The transaction base64 stringdescriptors(ARR, required): An array of either strings or objectsvalue(STR): An output descriptorvalue(OBJ): An object with an output descriptor and extra informationdesc(STR, required): An output descriptorrange(RANGE): Up to what index HD chains should be explored (either end or [begin,end])
sighashtype(STR): The signature hash type to sign with if not specified by the PSBT. Must be one of "DEFAULT" "ALL" "NONE" "SINGLE" "ALL|ANYONECANPAY" "NONE|ANYONECANPAY" "SINGLE|ANYONECANPAY"bip32derivs(BOOL): Include BIP 32 derivation paths for public keys if we know themfinalize(BOOL): Also finalize inputs if possible
Results
value(OBJ): No description.psbt(STR): The base64-encoded partially signed transactioncomplete(BOOL): If the transaction has a complete set of signatureshex(STR_HEX, optional): The hex-encoded network transaction if complete
Examples
qbit-cli descriptorprocesspsbt "psbt" "[\"descriptor1\", \"descriptor2\"]"
qbit-cli descriptorprocesspsbt "psbt" "[{\"desc\":\"mydescriptor\", \"range\":21}]"