Tezos · Schema

SrGameInfo

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
id integer Internal TzKT id.
initiator object Initiator, who found a wrong commitment and started the refutation game.
initiatorCommitment object Initiator's version of a valid commitment
opponent object Opponent, who was accused in publishing a wrong commitment.
opponentCommitment object Opponent's version of a valid commitment
initiatorReward integer In case the initiator won, this field will contain the reward amount (in mutez).
initiatorLoss integer In case the initiator lost (including a `draw`), this field will contain the loss amount (in mutez).
opponentReward integer In case the opponent won, this field will contain the reward amount (in mutez).
opponentLoss integer In case the opponent lost (including a `draw`), this field will contain the loss amount (in mutez).
View JSON Schema on GitHub

JSON Schema

srgameinfo.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SrGameInfo",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "integer",
      "description": "Internal TzKT id.  ",
      "format": "int64"
    },
    "initiator": {
      "description": "Initiator, who found a wrong commitment and started the refutation game.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "initiatorCommitment": {
      "description": "Initiator's version of a valid commitment",
      "oneOf": [
        {
          "$ref": "#/components/schemas/SrCommitmentInfo"
        }
      ]
    },
    "opponent": {
      "description": "Opponent, who was accused in publishing a wrong commitment.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "opponentCommitment": {
      "description": "Opponent's version of a valid commitment",
      "oneOf": [
        {
          "$ref": "#/components/schemas/SrCommitmentInfo"
        }
      ]
    },
    "initiatorReward": {
      "type": "integer",
      "description": "In case the initiator won, this field will contain the reward amount (in mutez).",
      "format": "int64",
      "nullable": true
    },
    "initiatorLoss": {
      "type": "integer",
      "description": "In case the initiator lost (including a `draw`), this field will contain the loss amount (in mutez).",
      "format": "int64",
      "nullable": true
    },
    "opponentReward": {
      "type": "integer",
      "description": "In case the opponent won, this field will contain the reward amount (in mutez).",
      "format": "int64",
      "nullable": true
    },
    "opponentLoss": {
      "type": "integer",
      "description": "In case the opponent lost (including a `draw`), this field will contain the loss amount (in mutez).",
      "format": "int64",
      "nullable": true
    }
  }
}