getSmartContractStake method

Future<double> getSmartContractStake()

Implementation

Future<double> getSmartContractStake() async {
  int feePerGas = await AppService().getFeePerGas();
  double smartContractStake = double.parse(
      (Decimal.parse(feePerGas.toString()) /
              Decimal.parse("1000000000000000000") *
              Decimal.parse("3000000"))
          .toString());
  //print("smartContractStake: " + smartContractStake.toString());
  return smartContractStake;
}