Optimism gas prices
optimism_gas_pricesOP Mainnet gas price right now: block number, base fee, gas price and priority fee in gwei, and the estimated cost in ETH and USD of a native transfer and an ERC-20 transfer (Chainlink ETH/USD); plus how the current price ranks against our own samples every 10 minutes over the last 7 days, and the usually cheapest UTC hour. Costs $0.003 USDC on Base via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "optimism_gas_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | string, e.g. "Excludes OP Mainnet's L1 data fee, which adds a small amoun | |
| chain | No | string, e.g. "optimism" | |
| blockTime | No | string, e.g. "2026-10-22T15:50:33.000Z" | |
| nativeUsd | No | number, e.g. 2394.09 | |
| baseFeeGwei | No | string, e.g. "0.000000304" | |
| blockNumber | No | number, e.g. 158542728 | |
| gasPriceGwei | No | string, e.g. "0.001000304" | |
| nativeSymbol | No | string, e.g. "ETH" | |
| estimatedCost | No | object | |
| maxPriorityFeeGwei | No | string, e.g. "0.001" |