walletprocesspsbt
walletprocesspsbt "psbt" ( sign "sighashtype" bip32derivs )
Updates a PSBT with input information from the wallet, then signs any inputs that the wallet can sign.
If the wallet is encrypted, the wallet passphrase must be set using the walletpassphrase
command before signing.
Argument #1 – psbt
Type: string, required
The transaction base64 string
Argument #2 – sign
Type: boolean, optional, default=true
Also sign the transaction when updating
Argument #3 – sighashtype
Type: string, optional, default=ALL
-
Signature Hash Type – the signature hash type to use if not already specified in the PSBT. Must be one of the following:
"ALL"
"NONE"
"SINGLE"
"ALL|ANYONECANPAY"
"NONE|ANYONECANPAY"
"SINGLE|ANYONECANPAY"
Argument #4 – bip32derivs
Type: boolean, optional, default=true
Include BIP 32 derivation paths: Include BIP 32 derivation paths for public keys, if they are known.