gas-spike-monitor

Detect gas price spikes by comparing current_gas_gwei against baseline_gas_gwei.

17|45|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/XSpoonAi/spoon-awesome-skill --skill gas-spike-monitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gas-spike-monitor
Source: https://github.com/XSpoonAi/spoon-awesome-skill/tree/main/web3-data-intelligence/gas-spike-monitor
Command: npx skills add https://github.com/XSpoonAi/spoon-awesome-skill --skill gas-spike-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Monitor gas price spikes across blockchain networks including Ethereum, Polygon, Arbitrum, Optimism, and BSC. Compares current gas prices against baseline values and triggers alerts when spikes exceed configured thresholds with live RPC integration.

Core Features & Use Cases

  • Real-time multi-network gas price monitoring with spike detection.
  • Configurable thresholds and baseline comparison, producing clear status and recommendations.
  • Supports both provided price inputs and live RPC data sources; outputs include status, spike percentage, and timestamp.

Quick Start

Run python scripts/main.py with provided current_gas_gwei and baseline_gas_gwei to detect spikes, or enable use_live_prices to fetch live data.

Frequently Asked Questions about gas-spike-monitor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor cross-chain gas price spikes on Ethereum or Polygon?

To monitor cross-chain gas price spikes, you compare current_gas_gwei against a baseline_gas_gwei threshold. This skill supports Ethereum, Polygon, Arbitrum, Optimism, and BSC, outputting a spike_percentage and alert status based on your configured limits.

Can I fetch live gas prices directly from an RPC endpoint?

Yes, you can fetch live gas prices directly from an RPC endpoint. By enabling the use_live_prices option in the script, the monitor automatically retrieves current gas data from the connected network's RPC instead of requiring manually provided price inputs.

How do I configure gas spike alerts for different blockchain networks?

You configure gas spike alerts by defining a baseline_gas_gwei and a spike threshold for a given network. The script evaluates the current gas price against this baseline and generates a structured result with actionable recommendations when the spike percentage exceeds your threshold.

What data do I need to provide to detect a gas spike without live RPC?

To detect a gas spike without live RPC, you need to provide current_gas_gwei and baseline_gas_gwei values directly. The script compares these two inputs to calculate the spike percentage and output a status without connecting to an external network endpoint.

Does the gas spike monitor support Arbitrum and Optimism networks?

Yes, the gas spike monitor fully supports Arbitrum and Optimism networks. It tracks gas prices across these Layer 2 networks alongside Ethereum, Polygon, and BSC, allowing you to detect spike percentages and receive actionable recommendations for each chain.

What actionable recommendations are output when a gas spike is detected?

When a gas spike is detected, the output includes a structured result with a status, spike_percentage, price_source, and timestamp. It also provides actionable recommendations to help you respond to the network congestion or price increase effectively.