GET
/
api
/
v1
/
validator
/
uptime
Get Validator Uptime
curl --request GET \
  --url https://prv.explorer.biya.io/api/v1/validator/uptime \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

address
string

Validator address (required)

blocks
string

Query by blocks (optional)

period
string

Query by time period (optional): "24h", "7d", "30d", "90d"

Response

200 - application/json

OK

Generic response structure

code
integer<int32>

Response status code, 0 indicates success, non-zero indicates failure

message
string

Response message

data
object

Response data (using Struct type to directly return JSON objects, more intuitive)