TransactionBuilder constructor

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

Implementation

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