Skip to content
Eden Engine

Bitcoin Difficulty Adjustment

mempool/difficulty-adjustment

Where Bitcoin is in its current 2016-block difficulty epoch: percent of the epoch done, blocks and time remaining, the estimated retarget date, and the projected difficulty change (percent) at the next adjustment.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

mempool.space

Bitcoin data from the public mempool.space API (https://mempool.space/docs/api/rest). Served by Eden Engine; not an official Mempool product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "mempool/difficulty-adjustment" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "mempool/difficulty-adjustment" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "mempool/difficulty-adjustment", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "mempool/difficulty-adjustment", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "progressPercent",
    "difficultyChange",
    "estimatedRetargetDate",
    "remainingBlocks",
    "remainingTime",
    "previousRetarget",
    "previousTime",
    "nextRetargetHeight",
    "timeAvg",
    "adjustedTimeAvg",
    "timeOffset",
    "expectedBlocks"
  ],
  "properties": {
    "timeAvg": {
      "type": "number"
    },
    "timeOffset": {
      "type": "number"
    },
    "previousTime": {
      "type": "number"
    },
    "remainingTime": {
      "type": "number"
    },
    "expectedBlocks": {
      "type": "number"
    },
    "adjustedTimeAvg": {
      "type": "number"
    },
    "progressPercent": {
      "type": "number"
    },
    "remainingBlocks": {
      "type": "number",
      "description": "Blocks left in the 2016-block epoch."
    },
    "difficultyChange": {
      "type": "number",
      "description": "Projected percent change at the next retarget."
    },
    "previousRetarget": {
      "type": "number"
    },
    "nextRetargetHeight": {
      "type": "number"
    },
    "estimatedRetargetDate": {
      "type": "number",
      "description": "Unix time in milliseconds."
    }
  },
  "description": "The current Bitcoin difficulty-adjustment epoch and its projected change.",
  "additionalProperties": true
}