Hedera · Schema

Block

Distributed LedgerBlockchainDLTHashgraphTransactionTokensNFTSmart ContractsEnterprise

Properties

Name Type Description
count integer
gas_used integernull
hapi_version stringnull
hash string
logs_bloom stringnull A hex encoded 256-byte array with 0x prefix
name string
number integer
previous_hash string
size integernull
timestamp object
View JSON Schema on GitHub

JSON Schema

Block.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/Block.json",
  "title": "Block",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "gas_used": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "format": "int64"
    },
    "hapi_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "hash": {
      "type": "string"
    },
    "logs_bloom": {
      "description": "A hex encoded 256-byte array with 0x prefix",
      "type": [
        "string",
        "null"
      ],
      "pattern": "^0x[0-9a-fA-F]{512}$"
    },
    "name": {
      "type": "string"
    },
    "number": {
      "type": "integer",
      "minimum": 0
    },
    "previous_hash": {
      "type": "string"
    },
    "size": {
      "type": [
        "integer",
        "null"
      ]
    },
    "timestamp": {
      "$ref": "#/components/schemas/TimestampRange"
    }
  },
  "example": {
    "count": 3,
    "gas_used": 300000,
    "hapi_version": "0.11.0",
    "hash": "0x3c08bbbee74d287b1dcd3f0ca6d1d2cb92c90883c4acf9747de9f3f3162ad25b999fc7e86699f60f2a3fb3ed9a646c6b",
    "logs_bloom": "0x00000020002000001000000000000000000000000000000000000000000010000000000004000000000000000000000000108000000000000000000080000000000004000000000000000000000000880000000000000000000101000000000000000000000000000000000000008000000000000400000080000000000001000000000000000000000000000000000000000000002000000000100000100000200000040000100000001000000000000000000000000000000001001000004000000000000000000001000000000000000000100000000000100000000000000000000000000000000000000000000000080000100800000000000000120080",
    "name": "2022-05-03T06_46_26.060890949Z.rcd",
    "number": 77,
    "previous_hash": "0xf7d6481f659c866c35391ee230c374f163642ebf13a5e604e04a95a9ca48a298dc2dfa10f51bcbaab8ae23bc6d662a0b",
    "size": 8192,
    "timestamp": {
      "from": "1651560386.060890949",
      "to": "1651560386.661997287"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/Block"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.