Tezos · Schema

BakingRight

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
type string Type of the right: - `baking` - right to bake (produce) a block; - `attestation` - right to attest (validate) a block.
cycle integer Cycle on which the right can be realized.
level integer Level at which a block must be baked or an attestation must be sent.
timestamp string Time (estimated, in case of future rights) when a block must be baked or an attestation must be sent.
round integer Round (0 - ∞) at which the baker can propose/produce a block. If a baker at round `0` doesn't produce a block within the given time interval, then the right goes to a baker at round` 1`, etc. For `att
slots integer Number of slots to be attested. For `baking` rights this field is always `null`.
baker object Baker to which baking or attestation right has been given.
status string Status of the baking or attestation right: - `future` - the right is not realized yet; - `realized` - the right was successfully realized; - `missed` - the right was not realized.
View JSON Schema on GitHub

JSON Schema

bakingright.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "BakingRight",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of the right:\n- `baking` - right to bake (produce) a block;\n- `attestation` - right to attest (validate) a block."
    },
    "cycle": {
      "type": "integer",
      "description": "Cycle on which the right can be realized.",
      "format": "int32"
    },
    "level": {
      "type": "integer",
      "description": "Level at which a block must be baked or an attestation must be sent.",
      "format": "int32"
    },
    "timestamp": {
      "type": "string",
      "description": "Time (estimated, in case of future rights) when a block must be baked or an attestation must be sent.",
      "format": "date-time"
    },
    "round": {
      "type": "integer",
      "description": "Round (0 - \u221e) at which the baker can propose/produce a block.\nIf a baker at round  `0` doesn't produce a block within the given time interval, then the right goes to a baker at round` 1`, etc.\nFor `attestation` rights this field is always `null`.",
      "format": "int32",
      "nullable": true
    },
    "slots": {
      "type": "integer",
      "description": "Number of slots to be attested. For `baking` rights this field is always `null`.",
      "format": "int32",
      "nullable": true
    },
    "baker": {
      "description": "Baker to which baking or attestation right has been given.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "status": {
      "type": "string",
      "description": "Status of the baking or attestation right:\n- `future` - the right is not realized yet;\n- `realized` - the right was successfully realized;\n- `missed` - the right was not realized."
    }
  }
}