Hedera · Schema

TopicMessage

Distributed LedgerBlockchainDLTHashgraphTransactionTokensNFTSmart ContractsEnterprise

Properties

Name Type Description
chunk_info object
consensus_timestamp object
message string
payer_account_id object
running_hash string
running_hash_version integer
sequence_number integer
topic_id object
View JSON Schema on GitHub

JSON Schema

TopicMessage.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/TopicMessage.json",
  "title": "TopicMessage",
  "type": "object",
  "properties": {
    "chunk_info": {
      "$ref": "#/components/schemas/ChunkInfo"
    },
    "consensus_timestamp": {
      "$ref": "#/components/schemas/Timestamp"
    },
    "message": {
      "type": "string"
    },
    "payer_account_id": {
      "$ref": "#/components/schemas/EntityId"
    },
    "running_hash": {
      "type": "string",
      "format": "byte"
    },
    "running_hash_version": {
      "format": "int32",
      "type": "integer"
    },
    "sequence_number": {
      "format": "int64",
      "type": "integer"
    },
    "topic_id": {
      "$ref": "#/components/schemas/EntityId"
    }
  },
  "required": [
    "consensus_timestamp",
    "message",
    "payer_account_id",
    "running_hash",
    "running_hash_version",
    "sequence_number",
    "topic_id"
  ],
  "example": {
    "chunk_info": {
      "initial_transaction_id": "0.0.10-1234567890-000000321",
      "nonce": 3,
      "number": 1,
      "total": 2,
      "scheduled": true
    },
    "consensus_timestamp": "1234567890.000000001",
    "message": "bWVzc2FnZQ==",
    "payer_account_id": "0.0.10",
    "running_hash": "cnVubmluZ19oYXNo",
    "running_hash_version": 2,
    "sequence_number": 1,
    "topic_id": "0.0.7"
  }
}

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/TopicMessage"
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.