Bitview · Schema

DifficultyAdjustment

Company

Properties

Name Type Description
progressPercent number Progress through current difficulty epoch (0-100%)
difficultyChange number Estimated difficulty change at next retarget at the `adjustedTimeAvg` pace (%)
estimatedRetargetDate integer Estimated timestamp of next retarget (milliseconds)
remainingBlocks integer Blocks remaining until retarget
remainingTime integer Estimated time until retarget at `adjustedTimeAvg` (milliseconds)
previousRetarget number Previous difficulty adjustment (%)
previousTime object Timestamp of most recent retarget (seconds)
nextRetargetHeight object
timeAvg integer Average block time in current epoch (milliseconds)
adjustedTimeAvg integer Block time the projection uses (milliseconds): `timeAvg`, except in an epoch's first 503 blocks, where it spans the last 503 blocks, those before the retarget scaled by it
timeOffset integer Testnet's offset for its 20-minute minimum-difficulty rule (milliseconds): always 0 on mainnet, as mempool.space
expectedBlocks number Blocks expected at the 10-minute target between the epoch's first block and the tip block
View JSON Schema on GitHub

JSON Schema

bitview-space-difficulty-adjustment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bitview-space/json-schema/bitview-space-difficulty-adjustment-schema.json",
  "title": "DifficultyAdjustment",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bitview-space-openapi.json#/components/schemas/DifficultyAdjustment",
  "type": "object",
  "properties": {
    "progressPercent": {
      "description": "Progress through current difficulty epoch (0-100%)",
      "type": "number",
      "format": "double"
    },
    "difficultyChange": {
      "description": "Estimated difficulty change at next retarget at the `adjustedTimeAvg` pace (%)",
      "type": "number",
      "format": "double"
    },
    "estimatedRetargetDate": {
      "description": "Estimated timestamp of next retarget (milliseconds)",
      "type": "integer",
      "format": "uint64",
      "minimum": 0
    },
    "remainingBlocks": {
      "description": "Blocks remaining until retarget",
      "type": "integer",
      "format": "uint32",
      "minimum": 0
    },
    "remainingTime": {
      "description": "Estimated time until retarget at `adjustedTimeAvg` (milliseconds)",
      "type": "integer",
      "format": "uint64",
      "minimum": 0
    },
    "previousRetarget": {
      "description": "Previous difficulty adjustment (%)",
      "type": "number",
      "format": "double"
    },
    "previousTime": {
      "description": "Timestamp of most recent retarget (seconds)",
      "allOf": [
        {
          "$ref": "#/$defs/Timestamp"
        }
      ]
    },
    "nextRetargetHeight": {
      "allOf": [
        {
          "$ref": "#/$defs/Height"
        }
      ]
    },
    "timeAvg": {
      "description": "Average block time in current epoch (milliseconds)",
      "type": "integer",
      "format": "uint64",
      "minimum": 0
    },
    "adjustedTimeAvg": {
      "description": "Block time the projection uses (milliseconds): `timeAvg`, except in an epoch's first 503\nblocks, where it spans the last 503 blocks, those before the retarget scaled by it",
      "type": "integer",
      "format": "uint64",
      "minimum": 0
    },
    "timeOffset": {
      "description": "Testnet's offset for its 20-minute minimum-difficulty rule (milliseconds): always 0 on\nmainnet, as mempool.space",
      "type": "integer",
      "format": "int64"
    },
    "expectedBlocks": {
      "description": "Blocks expected at the 10-minute target between the epoch's first block and the tip block",
      "type": "number",
      "format": "double"
    }
  },
  "required": [
    "progressPercent",
    "difficultyChange",
    "estimatedRetargetDate",
    "remainingBlocks",
    "remainingTime",
    "previousRetarget",
    "previousTime",
    "nextRetargetHeight",
    "timeAvg",
    "adjustedTimeAvg",
    "timeOffset",
    "expectedBlocks"
  ],
  "$defs": {
    "Height": {
      "description": "A block height: how many blocks came before it.",
      "type": "integer",
      "format": "uint32",
      "minimum": 0
    },
    "Timestamp": {
      "description": "A Unix timestamp, in seconds.",
      "type": "integer",
      "format": "uint32",
      "minimum": 0
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bitview-space-difficulty-adjustment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.