TxInput class
A transaction input requires a transaction id of a UTXO and the index of that UTXO.
txId the transaction id as a hex string txIndex the index of the UTXO that we want to spend scriptSig the script that satisfies the locking conditions sequence the input sequence (for timelocks, RBF, etc.)
Constructors
- TxInput.new({required String txId, required int txIndex, Script? sig, Uint8List? sq})
Properties
Methods
-
copy(
) → TxInput - creates a copy of the object
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → Uint8List - serializes TxInput to bytes
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited