estimateFee method

int estimateFee(
  1. int feeRate,
  2. BtcAddressType addressType
)

Get estimated fee for the transaction.

Implementation

int estimateFee(int feeRate, BtcAddressType addressType) {
  return _calculateEstimationFee(unsignedTransaction!.inputs.length,
      unsignedTransaction!.outputs.length, feeRate, addressType);
}