UtilityLive Preview
Gas Calculator
Gas estimation with 3 speed presets (Economy/Standard/Fast), gwei display, and estimated cost in ETH + USD.
gasfeeestimategwei
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
speeds* | GasSpeed[] | — | Speed options with name, gwei, time estimate, cost |
selectedSpeed | string | — | Currently selected speed ID |
onSelect | (speedId: string) => void | — | Called when user selects a speed |
ethPrice | number | — | ETH price in USD for cost calculation |
className | string | — | Additional CSS classes |