AssemblerInput class
Metadata for a UTXO being spent.
Constructors
- AssemblerInput({required Outpoint outpoint, required BigInt value, required Uint8List scriptPubKey, required AssemblerInputType type, Uint8List? publicKey, int sequence = TxInput.sequenceFinal, SigHashType hashType = SigHashType.all})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashType → SigHashType
-
final
- outpoint → Outpoint
-
final
- publicKey → Uint8List?
-
The public key controlling this UTXO. Required for every type currently
supported (p2pkh / p2shP2wpkh / p2wpkh). Optional only for taproot
key-path spends, which are not yet supported.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptPubKey → Uint8List
-
final
- sequence → int
-
final
- type → AssemblerInputType
-
The kind of script being spent. Determines the sighash algorithm and the
shape of the signed input that is attached.
final
- value → BigInt
-
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