Get status

Retrieve sentry synchronization status per chain

Description

This endpoint facilitates the retrieval of synchronization status, block delay, and delay in seconds for each integrated chain within Sentry. Over time, chains integrated into Sentry may fall out of sync. This endpoint provides essential information to monitor and manage synchronization effectively.

Endpoint

GET https://sentry.aleno.ai/status

Query Parameters

CURL example

curl -X GET https://sentry.aleno.ai/status?chainId=eth

Result

When the chain is synchronized and operational, the status is set to 1. If the system is out of sync or down, it is set to 0.

It returns a status object:

{
   "data": {
      "status": 1, 
      "sentryLastProcessedBlock": 19470079,
      "rpcLastProcessedBlock": 19470079,
      "rpcDelay": {
         "blockDelay": 0,
         "timestampDelay": 0
      }
   }
}

Last updated