Tezos · Schema

SrMessage

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
id integer Internal TzKT id. **[sortable]**
level integer Level of the block where the message was pushed. **[sortable]**
index integer Index of the inbox message within the block.
timestamp string Timestamp of the block where the message was pushed.
type string Type of the message (`level_start`, `level_info`, `level_end`, `transfer`, `external`, `migration`).
predecessorHash string For `level_info` messages only. Hash of the predecessor block.
predecessorTimestamp string For `level_info` messages only. Timestamp of the predecessor block.
initiator object For `transfer` messages only. Account, initiated the operation.
sender object For `transfer` messages only. Smart contract, sent the internal transaction.
target object For `transfer` messages only. Smart rollup to which the internal transaction was sent.
entrypoint string For `transfer` messages only. Entrypoint called in the target rollup
parameter object For `transfer` messages only. Value passed to the called entrypoint. Note: you can configure parameters format by setting `micheline` query parameter.
payload string For `external` messages only. Payload bytes (in base64).
protocol string For `migration` messages only. Version of the new protocol (e.g. 'nairobi_017').
View JSON Schema on GitHub

JSON Schema

srmessage.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SrMessage",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "integer",
      "description": "Internal TzKT id.  \n**[sortable]**",
      "format": "int64"
    },
    "level": {
      "type": "integer",
      "description": "Level of the block where the message was pushed.  \n**[sortable]**",
      "format": "int32"
    },
    "index": {
      "type": "integer",
      "description": "Index of the inbox message within the block.  ",
      "format": "int32"
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the block where the message was pushed.",
      "format": "date-time"
    },
    "type": {
      "type": "string",
      "description": "Type of the message (`level_start`, `level_info`, `level_end`, `transfer`, `external`, `migration`)."
    },
    "predecessorHash": {
      "type": "string",
      "description": "For `level_info` messages only. Hash of the predecessor block.",
      "nullable": true
    },
    "predecessorTimestamp": {
      "type": "string",
      "description": "For `level_info` messages only. Timestamp of the predecessor block.",
      "format": "date-time",
      "nullable": true
    },
    "initiator": {
      "description": "For `transfer` messages only. Account, initiated the operation.",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "sender": {
      "description": "For `transfer` messages only. Smart contract, sent the internal transaction.",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "target": {
      "description": "For `transfer` messages only. Smart rollup to which the internal transaction was sent.",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "entrypoint": {
      "type": "string",
      "description": "For `transfer` messages only. Entrypoint called in the target rollup",
      "nullable": true
    },
    "parameter": {
      "description": "For `transfer` messages only. Value passed to the called entrypoint. Note: you can configure parameters format by setting `micheline` query parameter.",
      "nullable": true
    },
    "payload": {
      "type": "string",
      "description": "For `external` messages only. Payload bytes (in base64).",
      "format": "byte",
      "nullable": true
    },
    "protocol": {
      "type": "string",
      "description": "For `migration` messages only. Version of the new protocol (e.g. 'nairobi_017').",
      "nullable": true
    }
  }
}

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/srmessage"
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 email required.

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