getGasPrice function

Future<BigInt> getGasPrice()

Implementation

Future<BigInt> getGasPrice() async {
  var result = await ethereum!.request("eth_gasPrice", []);
  return BigInt.parse(result.toString());
}