TransactionBuilder constructor

TransactionBuilder({
  1. NetworkType? network,
  2. int? maximumFeeRate,
})

Implementation

TransactionBuilder({NetworkType? network, int? maximumFeeRate}) {
  this.network = network ?? bitcoin;
  this.maximumFeeRate = maximumFeeRate ?? 2500;
  this._inputs = [];
  this._tx = new Transaction();
  this._tx.version = 2;
}