GetValidatorUptime returns validator uptime information on the active chain
"Non magnam ut non numquam sit."
OK response.
Error message.
"Something has failed"
Status of the response.
"error"
const response = await fetch('https://inj-indexer.nownodes.io/api/explorer/v1/validator_uptime/{address}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "block_number": 11183248329926631000, "status": "proposed" }, { "block_number": 11183248329926631000, "status": "proposed" }, { "block_number": 11183248329926631000, "status": "proposed" }, { "block_number": 11183248329926631000, "status": "proposed" } ], "errmsg": "Something has failed", "s": "error" }