get_optimal_gas_window
Analyze historical gas patterns to find optimal transaction windows, reducing fees by 25-45%. Ideal for non-urgent transactions.
Instructions
Predict the best time window to execute transactions for minimum gas cost.
Uses historical Ethereum gas patterns (hourly + day-of-week multipliers) to identify upcoming low-gas windows. Typical savings: 25-45% vs peak hours.
Best windows: 3-7 AM UTC (daily low) and weekends (-20 to -25%).
Use this when: an agent can defer a non-urgent transaction to save on gas. Combine with get_gas_price for current baseline.
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": "get_optimal_gas_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain to optimize for: 'ethereum', 'arbitrum', 'base', 'polygon', 'optimism' | ethereum |
| urgency | No | Transaction urgency: 'low' (can wait 24h), 'medium' (wait up to 6h), 'high' (execute now) | low |
| horizon_hours | No | Hours to look ahead for optimal windows (1-48). Default: 24 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||