LegacyWitnessSignDetailsWithScript class final

Details for signing a legacy witness transaction input with the redeem script

Inheritance

Constructors

LegacyWitnessSignDetailsWithScript.new({required Transaction tx, required int inputN, required BigInt value, required Script scriptCode, SigHashType hashType = const SigHashType.all()})
By default, SIGHASH_ALL will be used

Properties

hashCode int
The hash code for this object.
no setterinherited
hashType SigHashType
The signature hash type
finalinherited
inputN int
The input index to sign
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptCode Script
The redeem script for the input being signed
finalinherited
tx Transaction
The transaction to sign
finalinherited
value BigInt
The value of the previous output
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