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

20 lines (16 loc) 385 B
import { RequestErrorType } from "viem/utils"; /** * Return type for the info.getVMs method. * @property vms - Map of VM IDs to their aliases */ export type GetVMsReturnType = { vms: { [key: string]: string[]; }; }; export type GetVMsErrorType = RequestErrorType; export type GetVMsMethod = { Method: "info.getVMs"; Parameters: {}; ReturnType: GetVMsReturnType; };