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