@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 • 426 B
TypeScript
import { RequestErrorType } from "viem/utils";
/**
* The return type for the `avm.getHeight` method.
*
* @property height - The height of the block.
*/
export type GetHeightReturnType = {
height: number;
};
export type GetHeightErrorType = RequestErrorType;
export type GetHeightMethod = {
Method: "avm.getHeight";
Parameters: {};
ReturnType: GetHeightReturnType;
};
//# sourceMappingURL=getHeight.d.ts.map