getLegacyGasPrice method
override
Returns the legacy gas price in wei for a network.
Returns a Future that completes with an EtherAmount
representing the legacy gas price.
Implementation
@override
Future<EtherAmount> getLegacyGasPrice() async {
final data = await _makeRPCCall<String>('eth_gasPrice');
return EtherAmount.fromBigInt(EtherUnit.wei, hexToInt(data));
}