Tezos · Schema

Constant

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
address string Global address (expression hash)
value object Constant value (either micheline, michelson or bytes, depending on the `format` parameter)
size integer Constant size in bytes
refs integer Number of contracts referencing this constant
creator object Account registered this constant
creationLevel integer Level of the first block baked with this software
creationTime string Datetime of the first block baked with this software
extras object Off-chain extras
View JSON Schema on GitHub

JSON Schema

constant.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Constant",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "address": {
      "type": "string",
      "description": "Global address (expression hash)"
    },
    "value": {
      "description": "Constant value (either micheline, michelson or bytes, depending on the `format` parameter)"
    },
    "size": {
      "type": "integer",
      "description": "Constant size in bytes",
      "format": "int32"
    },
    "refs": {
      "type": "integer",
      "description": "Number of contracts referencing this constant",
      "format": "int32"
    },
    "creator": {
      "description": "Account registered this constant",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "creationLevel": {
      "type": "integer",
      "description": "Level of the first block baked with this software",
      "format": "int32"
    },
    "creationTime": {
      "type": "string",
      "description": "Datetime of the first block baked with this software",
      "format": "date-time"
    },
    "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/constant"
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.