Tezos · Schema

Protocol

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
code integer Protocol code, representing a number of protocol changes since genesis (mod 256, but `-1` for the genesis block)
hash string Hash of the protocol
version integer Global version number
firstLevel integer Block height where the protocol was applied
firstCycle integer Index of the first cycle started with the protocol
firstCycleLevel integer Level of the first block of the first cycle started with the protocol
lastLevel integer Block height where the protocol ends. `null` if the protocol is active
constants object Information about the protocol constants
extras object Off-chain extras
View JSON Schema on GitHub

JSON Schema

protocol.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Protocol",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "code": {
      "type": "integer",
      "description": "Protocol code, representing a number of protocol changes since genesis (mod 256, but `-1` for the genesis block)",
      "format": "int32"
    },
    "hash": {
      "type": "string",
      "description": "Hash of the protocol"
    },
    "version": {
      "type": "integer",
      "description": "Global version number",
      "format": "int32"
    },
    "firstLevel": {
      "type": "integer",
      "description": "Block height where the protocol was applied",
      "format": "int32"
    },
    "firstCycle": {
      "type": "integer",
      "description": "Index of the first cycle started with the protocol",
      "format": "int32"
    },
    "firstCycleLevel": {
      "type": "integer",
      "description": "Level of the first block of the first cycle started with the protocol",
      "format": "int32"
    },
    "lastLevel": {
      "type": "integer",
      "description": "Block height where the protocol ends. `null` if the protocol is active",
      "format": "int32",
      "nullable": true
    },
    "constants": {
      "description": "Information about the protocol constants",
      "oneOf": [
        {
          "$ref": "#/components/schemas/ProtocolConstants"
        }
      ]
    },
    "extras": {
      "description": "Off-chain extras",
      "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/protocol"
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.