validator

Get validator's uptime and history of signed block

Changed on

Returns the validator's uptime percentage and a history of the last N blocks indicating whether each was signed.

get/validators/{id}/uptime

Request

  • Base URL
    api-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header apikey

Path parameters

idinteger required

Internal validator id

Query parameters

limitinteger

Count of requested blocks

Response

OK

uptimestring

Example response

{
  "blocks": [
    {
      "height": 100,
      "signed": true
    }
  ],
  "uptime": "0.97"
}

Changes