Peers validators

get

Lists the peer validator workers and their status.

Path parameters
chain_idstringRequired

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

Responses
200Success
application/json
get
GET /workers/chain_validators/{chain_id}/peers_validators HTTP/1.1
Host: xtz.nownodes.io
Accept: */*
[
  {
    "peer_id": "text",
    "status": {
      "phase": "launching",
      "since": "text"
    },
    "information": {
      "instances": 1,
      "status": {
        "phase": "launching",
        "since": "text"
      },
      "queue_length": 1
    },
    "pipelines": {
      "fetched_headers": 1,
      "fetched_blocks": 1
    }
  }
]
get

Introspect the state of a peer validator worker.

Path parameters
chain_idstringRequired

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

peer_idstringRequired

A cryptographic node identity (Base58Check-encoded)

Responses
200Success
application/json
get
GET /workers/chain_validators/{chain_id}/peers_validators/{peer_id} HTTP/1.1
Host: xtz.nownodes.io
Accept: */*
{
  "status": {
    "phase": "launching",
    "since": "text"
  },
  "pending_requests": [
    {
      "pushed": "text",
      "request": {
        "request": "new_head",
        "block": "text"
      }
    }
  ],
  "current_request": {
    "pushed": "text",
    "treated": "text",
    "request": {
      "request": "new_head",
      "block": "text"
    }
  }
}