SignOptions class

Options for a software signer

Adjust the behavior of our software signers and the way a transaction is finalized

Constructors

SignOptions({required bool isMultiSig, required bool trustWitnessUtxo, int? assumeHeight, required bool allowAllSighashes, required bool removePartialSigs, required bool tryFinalize, required bool signWithTapInternalKey, required bool allowGrinding})
const

Properties

allowAllSighashes bool
Whether the signer should use the sighash_type set in the PSBT when signing, no matter what its value is
final
allowGrinding bool
Whether we should grind ECDSA signature to ensure signing with low r or not. Defaults to true, i.e., we always grind ECDSA signature to sign with low r.
final
assumeHeight int?
Whether the wallet should assume a specific height has been reached when trying to finalize a transaction
final
hashCode int
The hash code for this object.
no setterinherited
isMultiSig bool
Whether the provided transaction is a multi-sig transaction
final
removePartialSigs bool
Whether to remove partial signatures from the PSBT inputs while finalizing PSBT.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signWithTapInternalKey bool
Whether we should try to sign a taproot transaction with the taproot internal key or not. This option is ignored if we're signing a non-taproot PSBT.
final
trustWitnessUtxo bool
Whether the signer should trust the witness_utxo, if the non_witness_utxo hasn't been provided
final
tryFinalize bool
Whether to try finalizing the PSBT after the inputs are signed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited