setFeeByFeePerByte method

Future setFeeByFeePerByte(
  1. int feePerByte
)

Sets the transaction fee according to feePerByte * estimateTxSize.

Implementation

Future setFeeByFeePerByte(int feePerByte) async {
  fee = feePerByte;
  fee = await FeeCalculator.calculateFeePerByte(this, feePerByte);
}