Lists the chain validator workers and their status.
const response = await fetch('https://xtz.nownodes.io/workers/chain_validators', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "chain_id": "text", "status": { "phase": "launching", "since": "text" }, "information": { "instances": 0, "status": { "phase": "launching", "since": "text" }, "queue_length": 0 }, "pipelines": 0 } ]
Introspect the state of a chain validator worker.
A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.
const response = await fetch('https://xtz.nownodes.io/workers/chain_validators/{chain_id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "status": { "phase": "launching", "since": "text" }, "pending_requests": [ { "pushed": "text", "request": { "hash": "text" } } ], "current_request": { "pushed": "text", "treated": "text", "request": { "hash": "text" } } }