GasCostEstimator.currentGasPriceInGwei() method
Returns the current gas price in gwei
Example
const gasCostInGwei = await contract.estimator.currentGasPriceInGwei();
Signature:
currentGasPriceInGwei(): Promise<string>;
Returns:
Promise<string>
the current gas price in gwei
Remarks
Get the current gas price in gwei