calculateFees method

Future<void> calculateFees(
  1. BlockforestProvider provider
)

Implementation

Future<void> calculateFees(BlockforestProvider provider) async {
  final protocol = await provider
      .request(BlockfrostRequestLatestEpochProtocolParameters());
  _fee = BigInt.from(protocol.minFeeA * estimateSize() + protocol.minFeeB);
}