walletsignpsbt ( RPC)

walletsignpsbt "psbt" ( "sighashtype" imbalance_ok )

Sign all PSBT iputs that we can sign for.

1. psbt            (string, required) The transaction base64 string
2. sighashtype     (string, optional, default=ALL) The signature hash type to sign with if not specified by the PSBT. Must be one of
3. imbalance_ok    (boolean, optional, default=false) Sign even if the transaction amounts do not balance

  "psbt" : "value",          (string) The base64-encoded partially signed transaction
  "complete" : true|false,   (boolean) If the transaction has a complete set of signatures

> elements-cli walletsignpsbt "psbt"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "walletsignpsbt", "params": ["psbt"] }' -H 'content-type: text/plain;'