estimateGasPrice method

  1. @override
Future<int> estimateGasPrice()
override

Implementation

@override
Future<int> estimateGasPrice() async {
  final path = "$endpoint/estimate_gas_price";
  final resp = await http.get(path);
  return resp.data["gas_estimate"];
}