Mainly

Get network status

Cluster health, current slot, and epoch progress in one call.

GET /network/status

Example

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

FieldTypeDescription
healthstringok or degraded.
slotnumberCurrent slot at confirmed level (a slot is Solana's ~400 ms heartbeat).
blockHeightnumberCount of actual blocks produced (lower than slot — some slots are skipped).
epochobjectCurrent epoch (~2–3 days) and progress through it. Mostly relevant for staking.
solanaVersionstringSoftware version the cluster is running.

Under the hood

Replaces getHealth, getSlot, getBlockHeight, getEpochInfo, and getVersion.

On this page