UNPKG

@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

20 lines (16 loc) 429 B
import { RequestErrorType } from "viem/utils"; /** * Return type for the `health.liveness` method. * * @property healthy - Indicates if the node is alive and can handle requests */ export type LivenessReturnType = { checks: object; healthy: boolean; }; export type LivenessErrorType = RequestErrorType; export type LivenessMethod = { Method: "health.liveness"; Parameters: {}; ReturnType: LivenessReturnType; };