๐ง Check Tron node health
Code samples
GET /api/v1/trx/health
curl 'https://settla.net/api/v1/trx/health' \
-H 'X-API-Key: $SETTLA_API_KEY' \
-H 'Accept: application/json'
Returns the node's liveness together with the height it is currently at. Use block to detect a stalled node: compare it with a public explorer, and treat a gap of more than a few blocks as degraded.
Example responses
200 Response
{
"status": "ok",
"time": "2026-09-02T07:16:37Z",
"block": 85887264
}
500 Response
{
"error": "Could not connect to TRX node."
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | TRX node is reachable | Inline |
| 500 | Internal Server Error | Could not connect to TRX node | Inline |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป status | string | false | none | none |
| ยป time | string(date-time) | false | none | none |
| ยป block | integer(int64) | false | none | Height the node is currently at. |
Status Code 500
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป error | string | false | none | none |
| ยป details | object | false | none | Present only on a few validation errors. |