descriptorprocesspsbt
Then, sign the inputs we are able to with information from the output descriptors.
Argument #1-psbt
Type: string, Required
Description: The transaction base64 string
Argument #2-descriptors
Type: json array, Required
Description: An array of either strings or objects
[
"", (string) An output descriptor
{ (json object) An object with an output descriptor and extra information
"desc": "str", (string, required) An output descriptor
"range": n or [n,n], (numeric or array, optional, default=1000) Up to what index HD chains should be explored (either end or [begin,end])
},
...
]
Argument #3-sighashtype
Type: string, Optional
Description: 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"
Argument #4-bip32derivs
Type: boolean, Optional
Default=true
Description: Include BIP 32 derivation paths for public keys if we know them
Argument #5-finalize
Type: boolean, Optional
Default=true
Description: Also finalize inputs if possible
Result
{ (json object)
"psbt" : "str", (string) The base64-encoded partially signed transaction
"complete" : true|false, (boolean) If the transaction has a complete set of signatures
"hex" : "hex" (string, optional) The hex-encoded network transaction if complete
}