@avalanche-sdk/client
Version:
A TypeScript SDK for interacting with the Avalanche network through JSON-RPC APIs. This SDK provides a comprehensive set of tools to interact with all Avalanche chains (P-Chain, X-Chain, C-Chain) and various APIs, including wallet functionality for transa
13 lines (11 loc) • 428 B
text/typescript
import { RpcSchemaOverride } from "viem";
import { HealthMethod } from "./types/health.js";
import { LivenessMethod } from "./types/liveness.js";
import { ReadinessMethod } from "./types/readiness.js";
export type HealthMethods = [LivenessMethod, ReadinessMethod, HealthMethod];
/**
* The RPC schema for the Health methods.
*
* @see {@link HealthMethods}
*/
export type HealthRpcSchema = RpcSchemaOverride & HealthMethods;