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

2 lines (1 loc) 974 B
async function e(e,n){return e.request({method:"admin.alias",params:n})}async function n(e,n){return e.request({method:"admin.aliasChain",params:n})}async function r(e,n){return e.request({method:"admin.getChainAliases",params:n})}async function a(e,n){return e.request({method:"admin.getLoggerLevel",params:n})}async function t(e){return e.request({method:"admin.loadVMs",params:{}})}async function s(e){return e.request({method:"admin.memoryProfile",params:{}})}async function m(e,n){return e.request({method:"admin.setLoggerLevel",params:n})}async function o(e){return e.request({method:"admin.startCPUProfiler",params:{}})}async function u(e){return e.request({method:"admin.stopCPUProfiler",params:{}})}async function i(e){return e.request({method:"admin.lockProfile",params:{}})}export{e as alias,n as aliasChain,r as getChainAliases,a as getLoggerLevel,t as loadVMs,i as lockProfile,s as memoryProfile,m as setLoggerLevel,o as startCPUProfiler,u as stopCPUProfiler};