Block Details

Get detailed information about a specific block from the Deccord blockchain

Get Block Details
Retrieve detailed information about a block by its hash

Endpoint

GET /api/blocks/hash/:hash

Parameters

  • hash - The hash of the block to retrieve

Code Examples

curl https://api.deccord.com/api/blocks/hash/000007439b73a629c562b80e49fd039d5eab0d9021237bb05d6953e7f22bb3db

Response Format

{
  "hash": "000007439b73a629c562b80e49fd039d5eab0d9021237bb05d6953e7f22bb3db",
  "confirmations": 700,
  "size": 169,
  "height": 1,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "ef8e6fb1d3765b0ce532eab7214ea405ba0d70a1a5560eab958a92999bde5b01",
  "tx": [
    "ef8e6fb1d3765b0ce532eab7214ea405ba0d70a1a5560eab958a92999bde5b01"
  ],
  "time": 1740855291,
  "mediantime": 1740855291,
  "nonce": 687237,
  "bits": "1e0fffff",
  "difficulty": 0.0002441371325370145,
  "chainwork": "0000000000000000000000000000000000000000000000000000000000200011",
  "nTx": 1,
  "previousblockhash": "00000ff69b23f0528de73cfdcb50a8b8f59a756253866b82019c4a17d8268544",
  "nextblockhash": "00000f967ad4538fd96be9a17db16bc231b068a039896e82fa59ac3f9be3d242",
  "chainlock": false
}
Try It Out
Test the API endpoint directly in your browser