import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.metrics.healthCheck();
console.log(result);
}
run();{
"status": "error",
"info": {},
"error": {},
"details": {}
}Check the health of the service.
import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.metrics.healthCheck();
console.log(result);
}
run();{
"status": "error",
"info": {},
"error": {},
"details": {}
}Was this page helpful?