estimateGas static method
Future<BigInt>
estimateGas(
- EstimateGasParameters estimateGasParameters, {
- String configKey = 'default',
Implementation
static Future<BigInt> estimateGas(
EstimateGasParameters estimateGasParameters, {
String configKey = 'default',
}) =>
_guardFuture(() async {
_logAction('estimateGas');
final result = await window.wagmiCore
.estimateGas(
configKey.toJS,
estimateGasParameters.toJS,
)
.toDart;
return result.toDart;
});