getMaxPriorityFeePerGas method

Future<EtherAmount> getMaxPriorityFeePerGas()

Implementation

Future<EtherAmount> getMaxPriorityFeePerGas() async {
  final data = await _makeRPCCall<String>('eth_maxPriorityFeePerGas');

  return EtherAmount.fromUnitAndValue(EtherUnit.wei, hexToInt(data));
}