Home

Get smart rollup games count

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a total number 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.

Response

200OK

Successful response.

400Bad Request

Invalid request.