@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
18 lines (14 loc) • 369 B
text/typescript
import { RequestErrorType } from "viem/utils";
/**
* Return type for the info.getNodeIP method.
* @property ip - The IP address of the node
*/
export type GetNodeIPReturnType = {
ip: string;
};
export type GetNodeIPErrorType = RequestErrorType;
export type GetNodeIPMethod = {
Method: "info.getNodeIP";
Parameters: {};
ReturnType: GetNodeIPReturnType;
};