Get network status
Cluster health, current slot, and epoch progress in one call.
GET /network/statusExample
curl https://api.sarg.am/v1/solana/network/status \
-H "Authorization: Bearer $MAINLY_API_KEY"{
"health": "ok",
"slot": 341197120,
"blockHeight": 319842771,
"epoch": {
"epoch": 789,
"slotIndex": 231120,
"slotsInEpoch": 432000,
"progress": 0.535
},
"solanaVersion": "2.3.6"
}Response fields
| Field | Type | Description |
|---|---|---|
health | string | ok or degraded. |
slot | number | Current slot at confirmed level (a slot is Solana's ~400 ms heartbeat). |
blockHeight | number | Count of actual blocks produced (lower than slot — some slots are skipped). |
epoch | object | Current epoch (~2–3 days) and progress through it. Mostly relevant for staking. |
solanaVersion | string | Software version the cluster is running. |
Under the hood
Replaces getHealth, getSlot, getBlockHeight, getEpochInfo, and
getVersion.