@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 • 538 B
TypeScript
import { RequestErrorType } from "viem/utils";
/**
* Return type for the `platform.getProposedHeight` method.
* Get the proposed height of the P-Chain.
* @property height - The proposed height of the P-Chain
*/
export type GetProposedHeightReturnType = {
height: number;
};
export type GetProposedHeightErrorType = RequestErrorType;
export type GetProposedHeightMethod = {
Method: "platform.getProposedHeight";
Parameters: {};
ReturnType: GetProposedHeightReturnType;
};
//# sourceMappingURL=getProposedHeight.d.ts.map