Index of every page on this site: llms.txt
All skills
Run it yourself

Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities. Use when analyzing pending transactions, optimizing gas prices, or researching MEV. Trigger with phrases like "check mempool", "scan pending txs", "find MEV", "gas price analysis", or "pending swaps".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/analyzing-mempool

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesimplementation.md

≈557 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Implementation Details

Gas Price Distribution Analysis

The gas analysis command calculates percentile-based recommendations from pending transactions:

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 Detection Details

MEV detection scans for common patterns:

  • Sandwich attacks: Detects front-run + back-run pairs targeting the same swap
  • Arbitrage: Identifies circular token paths (A→B→A) across DEXs
  • Liquidation: Finds health-factor monitoring and repay+seize patterns

Important: MEV detection is for educational purposes only. Real MEV extraction requires:

  • Specialized block-builder infrastructure (Flashbots, MEV-Boost)
  • Sub-millisecond execution timing
  • Significant capital for gas auctions

DEX Swap Detection

The swaps command identifies pending DEX transactions by matching method selectors:

  • Uniswap V2/V3: swapExactTokensForTokens, exactInputSingle
  • SushiSwap: Same interface as Uniswap V2
  • 1inch: swap, unoswap aggregation methods

Multi-Chain Support

Supported chains and their mempool characteristics:

Chain Mempool Access Block Time Notes
Ethereum Full ~12s Richest MEV environment
Polygon Full ~2s Lower gas, faster blocks
Arbitrum Limited ~0.25s Sequencer-based, less MEV
Optimism Limited ~2s Sequencer-based
Base Limited ~2s Coinbase sequencer

Contract Watching

The watch command monitors pending transactions to a specific contract address:

  1. Filters mempool by to address
  2. Decodes known method selectors
  3. Estimates gas cost in USD
  4. Identifies transaction type (swap, approve, transfer, etc.)

Configuration

Edit ${CLAUDE_SKILL_DIR}/config/settings.yaml:

rpc_endpoints:
  ethereum: "eth"
  polygon: "polygon"
  arbitrum: "arbitrum"

defaults:
  chain: ethereum
  limit: 50
  output_format: table

Tons of Skills by Intent Solutions | jeremylongshore.com

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    A legitimate blockchain utility for monitoring Ethereum-compatible mempools, analyzing gas prices, and researching MEV opportunities. The skill interacts with well-known RPC infrastructure and decodes transaction data into structured formats for analysis.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
What it can do
Reads files Edits files Runs commands
version
1.33.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "crypto",
  "monitoring",
  "analyzing-mempool"
]
All 6 allowed tools
ReadWriteEditGrepGlobBash(python:*mempool*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/analyzing-mempool