Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 427 Bytes

USAGE.md

File metadata and controls

21 lines (16 loc) · 427 Bytes
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";

const avaCloudSDK = new AvaCloudSDK({
  apiKey: "<YOUR_API_KEY_HERE>",
  chainId: "43114",
  network: "mainnet",
});

async function run() {
  const result = await avaCloudSDK.metrics.healthCheck.metricsHealthCheck();

  // Handle the result
  console.log(result);
}

run();