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

32 lines (29 loc) 1.06 kB
import { RpcSchemaOverride } from "viem"; import { AliasMethod } from "./types/alias.js"; import { AliasChainMethod } from "./types/aliasChain.js"; import { GetChainAliasesMethod } from "./types/getChainAliases.js"; import { GetLoggerLevelMethod } from "./types/getLoggerLevel.js"; import { LoadVMsMethod } from "./types/loadVMs.js"; import { LockProfileMethod } from "./types/lockProfile.js"; import { MemoryProfileMethod } from "./types/memoryProfile.js"; import { SetLoggerLevelMethod } from "./types/setLoggerLevel.js"; import { StartCPUProfilerMethod } from "./types/startCPUProfiler.js"; import { StopCPUProfilerMethod } from "./types/stopCPUProfiler.js"; export type AdminMethods = [ AliasMethod, AliasChainMethod, GetChainAliasesMethod, GetLoggerLevelMethod, LoadVMsMethod, LockProfileMethod, MemoryProfileMethod, SetLoggerLevelMethod, StartCPUProfilerMethod, StopCPUProfilerMethod ]; /** * The RPC schema for the Admin methods. * * @see {@link AdminMethods} */ export type AdminRpcSchema = RpcSchemaOverride & AdminMethods;