Agent skill · data analytics · jeremylongshore

analyzing-mempool

Monitor blockchain mempools for pending transactions, gas analysis,

Why this skill is useful

Adds niche commands for analyzing Ethereum mempool dynamics and gas optimization that the AI wouldn't reliably generate on its own.

What it needs

Requires python installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Analyzing Mempool Contents Overview Prerequisites Instructions Output Error Handling Examples Resources Overview Monitor Ethereum mempool for pending transactions, analyze gas prices, detect DEX swaps, and identify potential MEV opportunities. Useful for traders, MEV researchers, and protocol developers. Prerequisites 1. Install Python 3.8+ with requests library 2. Configure Ethereum RPC URL (default: public endpoint, or set ETHRPCURL) 3. Verify internet access for RPC calls Instructions Step 1: Navigate to Scripts Directory Step 2: Choose a Command 1. View pending transactions: python mempoolanalyzer.py pending 2. Analyze gas prices: python mempoolanalyzer.py gas 3. Detect pending DEX swaps: python mempoolanalyzer.py swaps 4. Scan MEV opportunities: python mempoolanalyzer.py mev 5. Get mempool summary: python mempoolanalyzer.py summary 6. Watch specific contract: python mempoolanalyzer.py watch 0x7a250d... Alternatively, customize with flags: Step 3: Interpret Results Gas Recommendations: Slow (10th percentile): May take 10+ blocks Standard (50th percentile): 2-5 blocks Fast (75th percentile): 1-2 blocks Instant (90th percentile): Next block likely MEV Warnings: MEV detection is for educational purposes Real MEV extraction requires specialized infrastructure Use this for research and understanding mempool dynamics Output Pending transaction lists with gas prices and types Gas price distribution and recommendations Detected DEX swaps with amounts and DEX identification MEV opportunity analysis with estimated profits JSON output for programmatic use (--format json) Error Handling See ${CLAUDESKILLDIR}/references/errors.md for: RPC connection issues and timeout recovery Mempool access limitations per chain Transaction decoding errors and fallbacks Gas analysis edge cases Examples Example 1: Check gas before sending transaction: Example 2: Monitor for large pending swaps: Example 3: Research MEV opportunities: See ${CLAUDESKILLDIR}/references/examples.md for more usage …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/analyzing-mempool--32a9e0

View the source on GitHub

Browse the @skills marketplace