TransactionBuilder class

Constructors

TransactionBuilder.new({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
addOutputAt(dynamic data, int value, int at) int
applySignedRaw(int vin, Uint8List signature, {int? hashType}) → dynamic
build() Transaction
buildIncomplete() Transaction
generateSignRaw({required int vin, Uint8List? ourPubKey, NetworkType? netWork, String? prevOutScriptType, Uint8List? redeemScript, int? witnessValue, Uint8List? witnessScript, int? hashType}) Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLockTime(int locktime) bool
setVersion(int version) → void
sign({required int vin, required ECPair keyPair, String? prevOutScriptType, 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