Blockchain Info

Get detailed information about the blockchain state and network

Get Blockchain Info
Retrieve current blockchain information including network state and active softforks

Endpoint

GET /api/blockchain

Code Examples

curl https://api.deccord.com/api/blockchain

Response Format

{
  "chain": "main",
  "blocks": 670,
  "headers": 670,
  "bestblockhash": "0000000000001313b5777d16adb816ec585be99d684b739dad83897aa37920e1",
  "difficulty": 708602.2267808428,
  "mediantime": 1740987633,
  "verificationprogress": 1,
  "initialblockdownload": false,
  "chainwork": "000000000000000000000000000000000000000000000000118717a51504218b",
  "size_on_disk": 756916,
  "pruned": false,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": true,
      "height": 1
    }
    // ... other softforks
  },
  "warnings": ""
}
Try It Out
Test the API endpoint directly in your browser