system_health – Mythos JSON-RPC Method
Provides a snapshot of node health, including peer count, synchronization status, and whether the node expects to have peers. Operators and dashboards use this method to alert on connectivity or sync issues.
Parameters
None.
Returns
Field | Type | Description |
---|---|---|
peers | number | Number of connected peers. |
isSyncing | boolean | Indicates if the node is still catching up to the head. |
shouldHavePeers | boolean | False for development nodes that intentionally run without peers. |
Request Example
{
"jsonrpc": "2.0",
"method": "system_health",
"params": [],
"id": 1
}