@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) • 999 B
JavaScript
"use strict";exports.alias=async function(e,r){return e.request({method:"admin.alias",params:r})},exports.aliasChain=async function(e,r){return e.request({method:"admin.aliasChain",params:r})},exports.getChainAliases=async function(e,r){return e.request({method:"admin.getChainAliases",params:r})},exports.getLoggerLevel=async function(e,r){return e.request({method:"admin.getLoggerLevel",params:r})},exports.loadVMs=async function(e){return e.request({method:"admin.loadVMs",params:{}})},exports.lockProfile=async function(e){return e.request({method:"admin.lockProfile",params:{}})},exports.memoryProfile=async function(e){return e.request({method:"admin.memoryProfile",params:{}})},exports.setLoggerLevel=async function(e,r){return e.request({method:"admin.setLoggerLevel",params:r})},exports.startCPUProfiler=async function(e){return e.request({method:"admin.startCPUProfiler",params:{}})},exports.stopCPUProfiler=async function(e){return e.request({method:"admin.stopCPUProfiler",params:{}})};