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

16 lines 480 B
import { RequestErrorType } from "viem/utils"; /** * Return type for the `platform.getHeight` method. * Get the current height of the P-Chain. * @property height - The current height of the P-Chain */ export type GetHeightReturnType = { height: number; }; export type GetHeightErrorType = RequestErrorType; export type GetHeightMethod = { Method: "platform.getHeight"; Parameters: {}; ReturnType: GetHeightReturnType; }; //# sourceMappingURL=getHeight.d.ts.map