TransactionBuilder class
Constructors
- TransactionBuilder({NetworkType? network, int? maximumFeeRate})
- TransactionBuilder.fromTransaction(Transaction transaction, [NetworkType? network])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputs
→ List<
Input> -
no setter
- maximumFeeRate ↔ int
-
getter/setter pair
- network ↔ NetworkType
-
getter/setter pair
- prevTxSet → Map
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tx → Transaction
-
no setter
Methods
-
addInput(
dynamic txHash, int vout, [int? sequence, Uint8List? prevOutScript]) → int -
addOutput(
dynamic data, int value) → int -
build(
) → Transaction -
buildIncomplete(
) → Transaction -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLockTime(
int locktime) → dynamic -
setVersion(
int version) → dynamic -
sign(
{required int vin, required ECPair keyPair, Uint8List? redeemScript, int? witnessValue, Uint8List? witnessScript, int? hashType}) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited