Blockchain.com · JSON Structure

Data Api Latest Block Structure

Lightweight summary of the most recent block.

Type: object Properties: 5
CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

LatestBlock is a JSON Structure definition published by Blockchain.com, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

hash time block_index height txIndexes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-structure/data-api-latest-block-structure.json",
  "name": "LatestBlock",
  "description": "Lightweight summary of the most recent block.",
  "type": "object",
  "properties": {
    "hash": {
      "type": "string",
      "description": "Block hash.",
      "example": "00000000000000000004f4e7a18a09b1f8e96d6fb01d9b6fce4d12cb3f8a7e21"
    },
    "time": {
      "type": "int64",
      "description": "Block timestamp (Unix seconds).",
      "example": 1748609400000
    },
    "block_index": {
      "type": "int64",
      "description": "Internal block index.",
      "example": 1
    },
    "height": {
      "type": "int32",
      "description": "Block height.",
      "example": 851234
    },
    "txIndexes": {
      "type": "array",
      "description": "Internal transaction indexes for transactions in this block.",
      "items": {
        "type": "int64",
        "example": 1
      }
    }
  }
}