getEip1559GasPrice abstract method

Future<Map<String, EtherAmount>> getEip1559GasPrice()

Returns the EIP1559 gas price in wei for a network.

Returns a Future that completes with a Map containing the following keys:

  • 'maxFeePerGas': An EtherAmount representing the maximum fee per gas.
  • 'maxPriorityFeePerGas': An EtherAmount representing the maximum priority fee per gas.

Implementation

Future<Map<String, EtherAmount>> getEip1559GasPrice();