Blockchain.com · Example Payload

Data Api Block Example

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Data Api Block Example is an example object payload from Blockchain.com, with 13 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

hashverprev_blockmrkl_roottimebitsnoncen_txsizeblock_indexmain_chainheighttx

Example Payload

Raw ↑
{
  "hash": "00000000000000000004f4e7a1...",
  "ver": 536870912,
  "prev_block": "example-value",
  "mrkl_root": "example-value",
  "time": 1748609400000,
  "bits": 1,
  "nonce": 1,
  "n_tx": 1,
  "size": 1,
  "block_index": 1,
  "main_chain": true,
  "height": 851234,
  "tx": [
    {
      "hash": "00000000000000000004f4e7a18a09b1f8e96d6fb01d9b6fce4d12cb3f8a7e21",
      "ver": 1,
      "vin_sz": 1,
      "vout_sz": 1,
      "size": 1,
      "weight": 1,
      "fee": 1,
      "relayed_by": "example-value",
      "lock_time": 1748609400000,
      "tx_index": 1,
      "double_spend": true,
      "time": 1748609400000,
      "block_index": 1,
      "block_height": 851234,
      "inputs": [
        null
      ],
      "out": [
        null
      ]
    }
  ]
}