鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

analyzing-mempool

实时监控区块链内存池,分析待处理交易的结构与行为特征,评估网络拥堵状况和燃料费用水平,识别去中心化交易所的潜在套利操作,并探测三明治攻击、清算等链上套利机会,辅助交易决策与链上研究。

区块链
访问 GitHub
文档Skills.MD
name
analyzing-mempool
description
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".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(python*mempool*)
version
1.0.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT

Analyzing Mempool

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

Before using this skill, ensure you have:

  • Python 3.8+ with requests library
  • Ethereum RPC URL (default: public endpoint, or set ETH_RPC_URL)
  • Internet access for RPC calls

Instructions

Step 1: Navigate to Scripts Directory

▼
bash
复制代码
cd {baseDir}/scripts

Step 2: Choose Your Command

View Pending Transactions:

▼
bash
复制代码
python mempool_analyzer.py pending python mempool_analyzer.py pending --limit 100

Gas Price Analysis:

▼
bash
复制代码
python mempool_analyzer.py gas # Shows distribution, recommendations for slow/standard/fast/instant

Pending DEX Swaps:

▼
bash
复制代码
python mempool_analyzer.py swaps # Detects Uniswap, SushiSwap, 1inch pending swaps

MEV Opportunity Scan:

▼
bash
复制代码
python mempool_analyzer.py mev # Detects sandwich, arbitrage, liquidation opportunities

Mempool Summary:

▼
bash
复制代码
python mempool_analyzer.py summary # Quick overview of pending count, gas, opportunities

Watch Specific Contract:

▼
bash
复制代码
python mempool_analyzer.py watch 0x7a250d... # Monitor pending transactions to specific contract

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

Error Handling

See {baseDir}/references/errors.md for:

  • RPC connection issues
  • Mempool access limitations
  • Transaction decoding errors
  • Gas analysis fallbacks

Examples

Check gas before sending transaction:

▼
bash
复制代码
python mempool_analyzer.py gas # Use "Fast" for quick confirmation

Monitor for large pending swaps:

▼
bash
复制代码
python mempool_analyzer.py swaps --limit 200

Research MEV opportunities:

▼
bash
复制代码
python mempool_analyzer.py mev -v

Use different chain:

▼
bash
复制代码
python mempool_analyzer.py --chain polygon gas python mempool_analyzer.py --chain arbitrum pending

See {baseDir}/references/examples.md for more usage patterns.

Resources

  • Ethereum JSON-RPC - RPC specification
  • Flashbots - MEV research and infrastructure
  • DEX Subgraphs - Pool and swap data
  • Supports: Ethereum, Polygon, Arbitrum, Optimism, Base
区块链

快捷安装

复制到终端去安装 Skill

npxskillsaddjeremylongshore/claude-code-plugins-plus-skills--skill"analyzing-mempool"
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
朱雀AI检测助手朱雀AI检测助手
零感AI零感AI
Skills 推荐
property-based-testing
通过生成随机输入验证代码在各类边界条件下的行为一致性,适用于序列化、解析、归一化及纯函数等场景,能有效发现隐含缺陷并提升测试覆盖率,尤其适合需要高可靠性的算法与智能合约验证。
compliance-checker
能够对基础设施配置进行合规性评估,检查是否符合 SOC2、HIPAA 和 PCI DSS 等行业标准,识别潜在的安全风险与违规项,并生成改进建议报告,适用于安全审计与合规审查场景。
orchestration
作为系统的核心协调中枢,负责将用户复杂需求拆解为并行任务流,动态调度不同能力的智能体协同工作,自动管理任务依赖与执行状态,并在后台静默完成多线程探索、分析与实现,最终整合结果交付完整解决方案。
skill-adapter
对基础设施配置进行多标准合规性评估,覆盖 SOC2、HIPAA 和 PCI DSS 等主流框架,自动识别配置偏差与安全风险,并生成可操作的整改建议报告,支撑持续合规治理与审计准备。
contract-test-creator
自动生成符合行业规范的契约测试代码与配置,提供从框架搭建到单元测试、集成测试及模拟对象编写的全流程支持,适用于需要实现高质量自动化测试验证的开发场景。