Tezos · Schema

BallotOperation

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
type string Type of the operation, `ballot` - is used to vote for a proposal in a given voting cycle
id integer Unique ID of the operation, stored in the TzKT indexer database
level integer The height of the block from the genesis block, in which the operation was included
timestamp string Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`)
block string Hash of the block, in which the operation was included
hash string Hash of the operation
period object Information about the voting period for which the ballot was submitted
proposal object Information about the proposal for which ballot was submitted
delegate object Information about the delegate (baker), submitted the ballot
votingPower integer Baker's voting power
vote string Vote, given in the ballot (`yay`, `nay`, or `pass`)
quote object Injected historical quote at the time of operation
View JSON Schema on GitHub

JSON Schema

ballotoperation.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "BallotOperation",
  "allOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "description": "Type of the operation, `ballot` - is used to vote for a proposal in a given voting cycle"
        },
        "id": {
          "type": "integer",
          "description": "Unique ID of the operation, stored in the TzKT indexer database",
          "format": "int64"
        },
        "level": {
          "type": "integer",
          "description": "The height of the block from the genesis block, in which the operation was included",
          "format": "int32"
        },
        "timestamp": {
          "type": "string",
          "description": "Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`)",
          "format": "date-time"
        },
        "block": {
          "type": "string",
          "description": "Hash of the block, in which the operation was included"
        },
        "hash": {
          "type": "string",
          "description": "Hash of the operation"
        },
        "period": {
          "description": "Information about the voting period for which the ballot was submitted",
          "oneOf": [
            {
              "$ref": "#/components/schemas/PeriodInfo"
            }
          ]
        },
        "proposal": {
          "description": "Information about the proposal for which ballot was submitted",
          "oneOf": [
            {
              "$ref": "#/components/schemas/ProposalAlias"
            }
          ]
        },
        "delegate": {
          "description": "Information about the delegate (baker), submitted the ballot",
          "oneOf": [
            {
              "$ref": "#/components/schemas/Alias"
            }
          ]
        },
        "votingPower": {
          "type": "integer",
          "description": "Baker's voting power",
          "format": "int64"
        },
        "vote": {
          "type": "string",
          "description": "Vote, given in the ballot (`yay`, `nay`, or `pass`)"
        },
        "quote": {
          "description": "Injected historical quote at the time of operation",
          "nullable": true,
          "oneOf": [
            {
              "$ref": "#/components/schemas/QuoteShort"
            }
          ]
        }
      }
    }
  ]
}

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/ballotoperation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.