estimateFeesPerGas static method

Future<EstimateFeesPerGasReturnType> estimateFeesPerGas(
  1. EstimateFeesPerGasParameters estimateFeesPerGasParameters, {
  2. String configKey = 'default',
})

Implementation

static Future<EstimateFeesPerGasReturnType> estimateFeesPerGas(
    EstimateFeesPerGasParameters estimateFeesPerGasParameters, {
      String configKey = 'default',
    }) =>
    _guardFuture(() async {
      _logAction('estimateFeesPerGas');
      final result = await window.wagmiCore
          .estimateFeesPerGas(
        configKey.toJS,
        estimateFeesPerGasParameters.toJS,
      )
          .toDart;
      return result.toDart;
    });