getGasPrice method
Get Gas Price
Implementation
Future<BigInt> getGasPrice() async {
final response = await _call<String>('eth_gasPrice');
final gasPrice = response.toBigIntOrNull;
if (gasPrice == null) throw Exception('Could not parse gas price');
return gasPrice;
}