Home

Get smart rollup games

GET
https://xtz-index.nownodes.io/v1/smart_rollups/games

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a list of smart rollup refutation games.

Parameters

idobject | nullquery

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

rollupobject | nullquery

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

initiatorobject | nullquery

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

initiatorCommitment.idobject | nullquery

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

initiatorCommitment.hashobject | nullquery

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

opponentobject | nullquery

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

opponentCommitment.idobject | nullquery

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

opponentCommitment.hashobject | nullquery

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

firstLevelobject | nullquery

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

firstTimeobject | nullquery

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

lastLevelobject | nullquery

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

lastTimeobject | nullquery

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

sortobject | nullquery

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.

offsetobject | nullquery

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

limitinteger<int32>[0, 10000]query

Maximum number of items to return.

selectobject | nullquery

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.

Response

200OK

Successful response.

400Bad Request

Invalid request.