Sr refute

Get smart rollup refute

Returns a list of smart rollup refute operations.

GEThttps://xtz-index.nownodes.io/v1/operations/sr_refute
Query parameters
Response
Body
type*string
typenullable string

Type of the operation, sr_refute

idinteger (int64)

Unique ID of the operation, stored in the TzKT indexer database
[sortable]

levelinteger (int32)

The height of the block from the genesis block, in which the operation was included

timestampstring (date-time)

Datetime of the block, in which the operation was included (ISO 8601, e.g. 2020-02-20T02:40:57Z)

hashnullable string

Hash of the operation

sendernullable one of

Information about the account who has sent the operation

counterinteger (int32)

An account nonce which is used to prevent operation replay

gasLimitinteger (int32)

A cap on the amount of gas a given operation can consume

gasUsedinteger (int32)

Amount of gas, consumed by the operation

storageLimitinteger (int32)

A cap on the amount of storage a given operation can consume

bakerFeeinteger (int64)

Fee to the baker, produced block, in which the operation was included (micro tez)

statusnullable string

Operation status (applied - an operation applied by the node and successfully added to the blockchain, failed - an operation which failed with some particular error (not enough balance, gas limit, etc), backtracked - an operation which was successful but reverted due to one of the following operations in the same operation group was failed, skipped - all operations after the failed one in an operation group)

rollupnullable one of

Smart rollup to which the operation was sent

gamenullable one of

Refutation game info

movenullable string

Player's move (start, dissection, proof, timeout)

gameStatusnullable string

Game status, after player's move (ongoing, loser, draw)

dissectionStartnullable integer (int64)

The first tick in the dissection range. This field is null if move is not `dissection.

dissectionEndnullable integer (int64)

The last tick in the dissection range. This field is null if move is not `dissection.

dissectionStepsnullable integer (int32)

Total ticks in the dissection range. This field is null if move is not dissection.

errorsnullable array of OperationError (object)

List of errors provided by the node, injected the operation to the blockchain. null if there is no errors

quotenullable one of

Injected historical quote at the time of operation

Request
const response = await fetch('https://xtz-index.nownodes.io/v1/operations/sr_refute', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "type": "text",
    "timestamp": "2024-09-20T00:57:23.709Z",
    "hash": "text",
    "sender": {
      "alias": "text",
      "address": "text"
    },
    "status": "text",
    "rollup": {
      "alias": "text",
      "address": "text"
    },
    "game": {
      "initiator": {
        "alias": "text",
        "address": "text"
      },
      "initiatorCommitment": {
        "initiator": {
          "alias": "text",
          "address": "text"
        },
        "state": "text",
        "hash": "text",
        "firstTime": "2024-09-20T00:57:23.709Z"
      },
      "opponent": {
        "alias": "text",
        "address": "text"
      },
      "opponentCommitment": {
        "initiator": {
          "alias": "text",
          "address": "text"
        },
        "state": "text",
        "hash": "text",
        "firstTime": "2024-09-20T00:57:23.709Z"
      }
    },
    "move": "text",
    "gameStatus": "text",
    "errors": [
      {
        "type": "text"
      }
    ],
    "quote": {
      "btc": 0,
      "eur": 0,
      "usd": 0,
      "cny": 0,
      "jpy": 0,
      "krw": 0,
      "eth": 0,
      "gbp": 0
    }
  }
]