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

26 lines (21 loc) 638 B
import { RequestErrorType } from "viem/utils"; /** * Parameters for the info.isBootstrapped method. * @property chain - The ID or alias of the chain to check */ export type IsBootstrappedParameters = { chain: string; }; /** * Return type for the info.isBootstrapped method. * @property isBootstrapped - Whether the chain is done bootstrapping */ export type IsBootstrappedReturnType = { isBootstrapped: boolean; }; export type IsBootstrappedErrorType = RequestErrorType; export type IsBootstrappedMethod = { Method: "info.isBootstrapped"; Parameters: IsBootstrappedParameters; ReturnType: IsBootstrappedReturnType; };