sign
fun sign(psbt: PartiallySignedTransaction, signOptions: SignOptions?): Boolean
Content copied to clipboard
Sign a transaction with all the wallet's signers, in the order specified by every signer's SignerOrdering
.
The SignOptions
can be used to tweak the behavior of the software signers, and the way the transaction is finalized at the end. Note that it can't be guaranteed that every signers will follow the options, but the "software signers" (WIF keys and xprv
) defined in this library will.
Return
true if the PSBT was finalized, or false otherwise
Parameters
psbt
PSBT to be signed
sign Options
signing options