estimateMaxPriorityFeePerGas static method

Future<BigInt> estimateMaxPriorityFeePerGas(
  1. EstimateMaxPriorityFeePerGasParameters estimateMaxPriorityFeePerGasParameters, {
  2. String configKey = 'default',
})

Implementation

static Future<BigInt> estimateMaxPriorityFeePerGas(
    EstimateMaxPriorityFeePerGasParameters
    estimateMaxPriorityFeePerGasParameters, {
      String configKey = 'default',
    }) =>
    _guardFuture(() async {
      _logAction(
        'estimateMaxPriorityFeePerGas',
      );
      final result = await window.wagmiCore
          .estimateMaxPriorityFeePerGas(
        configKey.toJS,
        estimateMaxPriorityFeePerGasParameters.toJS,
      )
          .toDart;
      return result.toDart;
    });