Method signPsbt
draft
rpc
Parameters: {
account: string, // first external account address
psbt: string, // base64 encoded string of the psbt
sign?: {
[address: string]: int[] // indices to sign
},
broadcast?: boolean // whether to broadcast the transaction
}
Alternative:
hex
for hex encoded PSBT Todo:allowedSighash
(plural?) for sighash types
Notes
Signing
- The wallet MAY try to sign all inputs if
sign
is NOT provided. - The wallet SHOULD try to sign the inputs potentially marked encoded in the PSBT.
- The wallet SHOULD try to sign the inputs given by the
sign
object and respective address.