Optimism gas tracker
Sampled 2026-10-04 06:19 UTC from our own Optimism nodes; refreshes every minute.
What common actions cost now
| Transfer (21,000 gas) | 3.4e-11 ETH |
| ERC-20 transfer (~65,000 gas) | 1.1e-10 ETH |
| DEX swap (~150,000 gas) | 2.4e-10 ETH |
Execution gas only, at the standard price; real gas use depends on the contract. As a rollup, Optimism also charges an L1 data fee per transaction that is not included here.
Last 15 hours
Low 0.0000011 · median 0.000003 · high 0.001 gwei (standard price, one sample a minute).
Optimism fee facts
- Gas is paid in ETH.
- Blocks arrive every 2.0 s (measured), and the base fee can change with every block.
- Optimism uses EIP-1559 fees: set maxFeePerGas above the base fee and a maxPriorityFeePerGas tip.
Get fees in code
import { createPublicClient, http } from "viem";
const client = createPublicClient({ transport: http("https://rpc.swiftnodes.io/rpc/optimism?key=YOUR_API_KEY") });
// EIP-1559 fees for the next Optimism block, from eth_feeHistory
const { maxFeePerGas, maxPriorityFeePerGas } = await client.estimateFeesPerGas();Frequently asked questions
What is the gas price on Optimism right now?
At the last sample (2026-10-04 06:19 UTC) a standard Optimism transaction needed about 0.0000016 gwei: a base fee of 0.0000016 gwei plus a median tip of 2.1e-8 gwei. A plain transfer (21,000 gas) cost about 3.4e-11 ETH. The page updates every minute.
How much does Optimism gas vary in a day?
Over the last 15 hours the standard price ranged from 0.0000011 to 0.001 gwei, with a median of 0.000003 gwei.
Gas on every chain at once: the multi-chain gas tracker. How fees are estimated: eth_feeHistory on Optimism.
Optimism endpoints are on the Optimism RPC page, and SwiftNodes has a free tier.