GET /v1/health
Liveness check. Verifies the API is up and that the TON RPC client can reach a recent block. Use it from your monitoring system.
Request
bash
curl https://chop.ag/api/v1/healthResponse (200)
json
{
"ok": true,
"dexes": ["dedust", "stonfi"],
"block": {
"seqno": 65038583,
"workchain": -1
}
}ok is true only when the v4 RPC client successfully retrieved a recent masterchain block. If the RPC is unreachable, the endpoint returns 503 with { ok: false, error: "..." }.
Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | True if the API can reach the TON network. |
dexes | string[] | Currently enabled DEX adapters. |
block.seqno | number | Latest masterchain block seen by the API. |
block.workchain | number | Always -1 for the masterchain. |