Health
health.health
This method returns the last set of health check results.
Method: POST
https://avax.nownodes.io/ext/health
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"health.health",
"params": {
"tags": ["11111111111111111111111111111111LpoYY", "29uVeLPJB1eQJkzRemU8g8wZDw5uJRqpab5U2mX9euieVwiEbL"]
}
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"checks": {
"C": {
"message": {
"engine": {
"consensus": {
"lastAcceptedHeight": 43893791,
"lastAcceptedID": "2oyh6SzgwpuGumbe4Ph46NUuS2JhbtfZ5vx2Vwg2kW5J7q65bQ",
"longestProcessingBlock": "0s",
"processingBlocks": 0
},
"vm": null
},
"networking": {
"percentConnected": 0.966755086615817
}
},
"timestamp": "2024-04-07T09:50:43.346230372Z",
"duration": 26149
},
"P": {
"message": {
"engine": {
"consensus": {
"lastAcceptedHeight": 12501989,
"lastAcceptedID": "VHK1nWaKzfZ3AuA4xe2VtzYR49vURtXwsARzWMY1bpziwrzWC",
"longestProcessingBlock": "0s",
"processingBlocks": 0
},
"vm": null
},
"networking": {
"percentConnected": 0.966755086615817
}
},
"timestamp": "2024-04-07T09:50:43.346234049Z",
"duration": 27021
},
"X": {
"message": {
"engine": {
"consensus": {
"lastAcceptedHeight": 338036,
"lastAcceptedID": "EHmoV4dVA9GQWfJYPwbv5uYaR9cyPSMTan5JmcGmSvpQHPDX7",
"longestProcessingBlock": "0s",
"processingBlocks": 0
},
"vm": null
},
"networking": {
"percentConnected": 0.966755086615817
}
},
"timestamp": "2024-04-07T09:50:43.346233468Z",
"duration": 24456
},
"bootstrapped": {
"message": [],
"timestamp": "2024-04-07T09:50:43.346189856Z",
"duration": 2725
},
"database": {
"timestamp": "2024-04-07T09:50:43.346202349Z",
"duration": 2464
},
"diskspace": {
"message": {
"availableDiskBytes": 2176471306240
},
"timestamp": "2024-04-07T09:50:43.346205675Z",
"duration": 2225
},
"network": {
"message": {
"connectedPeers": 1630,
"sendFailRate": 0,
"timeSinceLastMsgReceived": "346.193993ms",
"timeSinceLastMsgSent": "346.193993ms"
},
"timestamp": "2024-04-07T09:50:43.34619768Z",
"duration": 7393
},
"router": {
"message": {
"longestRunningRequest": "1.747165302s",
"outstandingRequests": 7
},
"timestamp": "2024-04-07T09:50:43.346198782Z",
"duration": 6843
}
},
"healthy": true
},
"id": 1
}
health.readiness
This method returns the last evaluation of the startup health check results.
Method: POST
https://avax.nownodes.io/ext/health
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"health.readiness",
"params": {
"tags": ["11111111111111111111111111111111LpoYY", "29uVeLPJB1eQJkzRemU8g8wZDw5uJRqpab5U2mX9euieVwiEbL"]
}
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"checks": {
"bootstrapped": {
"message": [],
"timestamp": "2024-04-07T09:54:13.345541426Z",
"duration": 1522
}
},
"healthy": true
},
"id": 1
}
health.liveness
This method returns healthy.
Method: POST
https://avax.nownodes.io/ext/health
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"health.liveness"
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"checks": {},
"healthy": true
},
"id": 1
}
Last updated