Games

Get smart rollup games

get

Returns a list of smart rollup refutation games.

Query parameters
idone of | nullableOptional

Filter by internal TzKT id.
Click on the parameter to expand more details.

rollupone of | nullableOptional

Filter by smart rollup.
Click on the parameter to expand more details.

initiatorone of | nullableOptional

Filter by initiator (who found a wrong commitment and started the refutation game).
Click on the parameter to expand more details.

initiatorCommitment.idone of | nullableOptional

Filter by internal TzKT id.
Click on the parameter to expand more details.

initiatorCommitment.hashone of | nullableOptional

Filter by commitment hash.
Click on the parameter to expand more details.

opponentone of | nullableOptional

Filter by opponent (who was accused in publishing a wrong commitment).
Click on the parameter to expand more details.

opponentCommitment.idone of | nullableOptional

Filter by internal TzKT id.
Click on the parameter to expand more details.

opponentCommitment.hashone of | nullableOptional

Filter by commitment hash.
Click on the parameter to expand more details.

firstLevelone of | nullableOptional

Filter by level of the block, where the refutation game was started.
Click on the parameter to expand more details.

firstTimeone of | nullableOptional

Filter by timestamp of the block, where the refutation game was started.
Click on the parameter to expand more details.

lastLevelone of | nullableOptional

Filter by level of the block, where the refutation game was last updated.
Click on the parameter to expand more details.

lastTimeone of | nullableOptional

Filter by timestamp of the block, where the refutation game was last updated.
Click on the parameter to expand more details.

sortone of | nullableOptional

Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below.
Click on the parameter to expand more details.

offsetone of | nullableOptional

Specifies which or how many items should be skipped.
Click on the parameter to expand more details.

limitinteger · int32 · max: 10000Optional

Maximum number of items to return.

selectone of | nullableOptional

Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: {field}{path?}{as alias?}, so you can do deep selection (for example, ?select=balance,token.metadata.symbol as token,...).
Note, if you select just one field, the response will be flatten into a simple array of values.
Click on the parameter to expand the details.

Responses
200Success
application/json
get
GET /v1/smart_rollups/games HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
[
  {
    "id": 1,
    "rollup": {
      "alias": "text",
      "address": "text"
    },
    "initiator": {
      "alias": "text",
      "address": "text"
    },
    "initiatorCommitment": {
      "id": 1,
      "initiator": {
        "alias": "text",
        "address": "text"
      },
      "inboxLevel": 1,
      "state": "text",
      "hash": "text",
      "ticks": 1,
      "firstLevel": 1,
      "firstTime": "2025-07-13T23:37:26.052Z"
    },
    "opponent": {
      "alias": "text",
      "address": "text"
    },
    "opponentCommitment": {
      "id": 1,
      "initiator": {
        "alias": "text",
        "address": "text"
      },
      "inboxLevel": 1,
      "state": "text",
      "hash": "text",
      "ticks": 1,
      "firstLevel": 1,
      "firstTime": "2025-07-13T23:37:26.052Z"
    },
    "lastMove": {
      "id": 1,
      "level": 1,
      "timestamp": "2025-07-13T23:37:26.052Z",
      "sender": {
        "alias": "text",
        "address": "text"
      },
      "move": "text",
      "gameStatus": "text"
    },
    "firstLevel": 1,
    "firstTime": "2025-07-13T23:37:26.052Z",
    "lastLevel": 1,
    "lastTime": "2025-07-13T23:37:26.052Z",
    "initiatorReward": 1,
    "initiatorLoss": 1,
    "opponentReward": 1,
    "opponentLoss": 1
  }
]