Monitor

get

Monitor every chain creation and destruction. Currently active chains will be given as first elements

Authorizations
Responses
200
Valid response
application/json
get
GET /monitor/active_chains HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
[
  {
    "chain_id": "text"
  }
]
get

Monitor all blocks that are successfully applied and stored by the node, disregarding whether they were selected as the new head or not.

Authorizations
Query parameters
protocolstringOptional

Protocol_hash (Base58Check-encoded)

next_protocolstringOptional

Protocol_hash (Base58Check-encoded)

chainstringOptional

A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.

Responses
200
Valid response
application/json
get
GET /monitor/applied_blocks HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "chain_id": "text",
  "hash": "text",
  "header": {
    "level": 1,
    "proto": 1,
    "predecessor": "text",
    "timestamp": "text",
    "validation_pass": 1,
    "operations_hash": "text",
    "fitness": [
      "text"
    ],
    "context": "text",
    "protocol_data": "text"
  },
  "operations": [
    [
      {
        "branch": "text",
        "data": "text"
      }
    ]
  ]
}
get

Wait for the node to have synchronized its chain with a few peers (configured by the node's administrator), streaming head updates that happen during the bootstrapping process, and closing the stream at the end. If the node was already bootstrapped, returns the current head immediately.

Authorizations
Responses
200
Valid response
application/json
get
GET /monitor/bootstrapped HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "block": "text",
  "timestamp": "text"
}
get

DEPRECATED: use version instead.

Authorizations
Responses
200
Valid response
application/json
Responseone of

Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.

stringOptional
or
get
GET /monitor/commit_hash HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
text
get

Monitor all blocks that are successfully validated and applied by the node and selected as the new head of the given chain.

Authorizations
Path parameters
chain_idstringRequired

A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.

Query parameters
protocolstringOptional

Protocol_hash (Base58Check-encoded)

next_protocolstringOptional

Protocol_hash (Base58Check-encoded)

Responses
200
Valid response
application/json
get
GET /monitor/heads/{chain_id} HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "hash": "text",
  "level": 1,
  "proto": 1,
  "predecessor": "text",
  "timestamp": "text",
  "validation_pass": 1,
  "operations_hash": "text",
  "fitness": [
    "text"
  ],
  "context": "text",
  "protocol_data": "text"
}
get

Monitor all economic protocols that are retrieved and successfully loaded and compiled by the node.

Authorizations
Responses
200
Valid response
application/json
Responseone of
stringOptional
or
get
GET /monitor/protocols HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
text
get

Monitor all blocks that were successfully validated by the node but are not applied nor stored yet, disregarding whether they are going to be selected as the new head or not.

Authorizations
Query parameters
protocolstringOptional

Protocol_hash (Base58Check-encoded)

next_protocolstringOptional

Protocol_hash (Base58Check-encoded)

chainstringOptional

A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.

Responses
200
Valid response
application/json
get
GET /monitor/validated_blocks HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "chain_id": "text",
  "hash": "text",
  "header": {
    "level": 1,
    "proto": 1,
    "predecessor": "text",
    "timestamp": "text",
    "validation_pass": 1,
    "operations_hash": "text",
    "fitness": [
      "text"
    ],
    "context": "text",
    "protocol_data": "text"
  },
  "operations": [
    [
      {
        "branch": "text",
        "data": "text"
      }
    ]
  ]
}