updateFees method

Future<void> updateFees(
  1. EVMRPC rpc, [
  2. EIP1559FeeRate feeRate = EIP1559FeeRate.normal
])

Updates transaction fees using the provided EVMRPC and optional EIP-1559 fee rate.

Calls the autoFill method to automatically determine the transaction type, fetch the nonce and gas limit, and calculate fees if necessary.

Implementation

Future<void> updateFees(EVMRPC rpc,
    [EIP1559FeeRate feeRate = EIP1559FeeRate.normal]) {
  return autoFill(rpc, feeRate);
}