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