๐ง Check ETH node health
Code samples
GET /api/v1/eth/health
curl 'https://settla.net/api/v1/eth/health' \
-H 'X-API-Key: $SETTLA_API_KEY' \
-H 'Accept: application/json'
Performs a lightweight eth_blockNumber JSON-RPC call to the configured ETH node and returns basic health information.
Example responses
200 Response
{
"status": "ok",
"time": "2026-09-02T07:01:55+00:00",
"blockNumber": "0x18b04ef"
}
500 Response
{
"status": "error",
"message": "Could not connect to ETH node."
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | ETH node is reachable and responding | Inline |
| 500 | Internal Server Error | ETH node URL is not configured or node is not reachable | Inline |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป status | string | false | none | none |
| ยป time | string(date-time) | false | none | none |
| ยป blockNumber | string | false | none | Current block number as hex QUANTITY from eth_blockNumber. |
Status Code 500
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป status | string | false | none | none |
| ยป message | string | false | none | none |