Blockchain.com · Schema

LatestBlock

Lightweight summary of the most recent block.

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
hash string Block hash.
time integer Block timestamp (Unix seconds).
block_index integer Internal block index.
height integer Block height.
txIndexes array Internal transaction indexes for transactions in this block.
View JSON Schema on GitHub

JSON Schema

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