Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aibtcdev avatar

Mempool Watch

  • 135 installs
  • 9 repo stars
  • Updated July 16, 2026
  • aibtcdev/skills

Monitor Bitcoin mempool congestion, fee spikes, and pending transaction patterns to tune broadcasts, RBF strategies, and user-facing confirmation estimates.

About

Operational skill for Bitcoin mempool monitoring. It supports agents and services that must watch pending transactions, fee markets, and congestion signals to optimize broadcast timing, RBF decisions, and user-facing ETA estimates in production BTC workflows.

  • Live fee percentile tracking
  • Pending tx and congestion alerts
  • RBF and broadcast timing guidance
  • Mempool API integration patterns
  • Ops playbooks for high-fee regimes

Mempool Watch by the numbers

  • 135 all-time installs (skills.sh)
  • Ranked #144 of 479 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aibtcdev/skills --skill mempool-watch

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs135
repo stars9
Last updatedJuly 16, 2026
Repositoryaibtcdev/skills

What it does

Monitor Bitcoin mempool congestion, fee spikes, and pending transaction patterns to tune broadcasts, RBF strategies, and user-facing confirmation estimates.

Files

SKILL.mdMarkdownGitHub ↗

Mempool Watch Skill

Monitor the Bitcoin mempool and track on-chain activity using the mempool.space public API (no authentication required). Works on both mainnet and testnet.

Usage

bun run mempool-watch/mempool-watch.ts <subcommand> [options]

Subcommands

tx-status

Check the confirmation status of a Bitcoin transaction.

bun run mempool-watch/mempool-watch.ts tx-status --txid <txid>

Options:

  • --txid (required) — Bitcoin transaction ID to look up

Output:

{
  "txid": "abc123...",
  "network": "mainnet",
  "confirmed": true,
  "blockHeight": 880000,
  "blockHash": "000000...",
  "blockTime": "2026-01-01T00:00:00.000Z",
  "confirmations": 42,
  "explorerUrl": "https://mempool.space/tx/abc123..."
}

If unconfirmed:

{
  "txid": "abc123...",
  "network": "mainnet",
  "confirmed": false,
  "blockHeight": null,
  "blockHash": null,
  "blockTime": null,
  "confirmations": 0,
  "explorerUrl": "https://mempool.space/tx/abc123..."
}

address-history

Retrieve the transaction history for a Bitcoin address.

bun run mempool-watch/mempool-watch.ts address-history --address <addr> [--limit <n>]

Options:

  • --address (required) — Bitcoin address to look up
  • --limit (optional) — Maximum number of transactions to return (default: 10, max: 25)

Output:

{
  "address": "bc1q...",
  "network": "mainnet",
  "count": 3,
  "transactions": [
    {
      "txid": "abc123...",
      "confirmed": true,
      "blockHeight": 880000,
      "blockTime": "2026-01-01T00:00:00.000Z",
      "fee": 1200,
      "valueIn": 500000,
      "valueOut": 498800,
      "explorerUrl": "https://mempool.space/tx/abc123..."
    }
  ],
  "explorerUrl": "https://mempool.space/address/bc1q..."
}

mempool-stats

Get current Bitcoin mempool statistics including pending transaction count, backlog size, and fee histogram.

bun run mempool-watch/mempool-watch.ts mempool-stats

Output:

{
  "network": "mainnet",
  "pendingTransactions": 12400,
  "pendingVsize": 8500000,
  "totalFees": 120000000,
  "recommendedFees": {
    "fast": { "satPerVb": 15, "target": "~10 minutes (next block)" },
    "medium": { "satPerVb": 8, "target": "~30 minutes" },
    "slow": { "satPerVb": 3, "target": "~1 hour" },
    "economy": { "satPerVb": 1, "target": "~24 hours" }
  },
  "feeHistogram": [[15, 200000], [8, 500000], [3, 1000000]]
}

Notes

  • All subcommands use the public mempool.space API — no authentication or wallet required
  • Defaults to testnet unless NETWORK=mainnet is set
  • confirmations in tx-status is estimated from current block height minus the transaction's block height
  • address-history returns the most recent transactions first; mempool.space paginates via after_txid which is not exposed here — use --limit to control result size

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.