v1

latestOpenAPI 3.0.32026-07-173986194.3 KB

Returns the runtime status.

get/{runtime}/status

Path parameters

runtime'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' required

The runtime which to query.

Response

A JSON object containing latest runtime status.

active_nodesinteger required

The number of compute nodes that are registered and can run the runtime.

latest_blockinteger required

The height of the most recent indexed block (also sometimes referred to as "round") for this runtime. Query a synced Oasis node for the latest block produced.

latest_block_timestring date-time required

The RFC 3339 formatted consensus time of when the latest indexed block for this runtime was produced.

latest_update_age_msinteger required

The number of milliseconds since Nexus processed the latest block.

Example response

{
  "active_nodes": 42,
  "latest_block": 8048956,
  "latest_block_time": "2019-04-01T00:00:00Z",
  "latest_update_age_ms": 352
}