Monitor
Monitor every chain creation and destruction. Currently active chains will be given as first elements
GET /monitor/active_chains HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
[
{
"chain_id": "text"
}
]
Monitor all blocks that are successfully applied and stored by the node, disregarding whether they were selected as the new head or not.
Protocol_hash (Base58Check-encoded)
Protocol_hash (Base58Check-encoded)
A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.
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"
}
]
]
}
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.
GET /monitor/bootstrapped HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"block": "text",
"timestamp": "text"
}
DEPRECATED: use version
instead.
Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.
GET /monitor/commit_hash HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
text
Monitor all blocks that are successfully validated and applied by the node and selected as the new head of the given chain.
A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.
Protocol_hash (Base58Check-encoded)
Protocol_hash (Base58Check-encoded)
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"
}
Monitor all economic protocols that are retrieved and successfully loaded and compiled by the node.
GET /monitor/protocols HTTP/1.1
Host: xtz.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
text
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.
Protocol_hash (Base58Check-encoded)
Protocol_hash (Base58Check-encoded)
A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.
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"
}
]
]
}