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

35 lines 1.01 kB
import { RequestErrorType } from "viem/utils"; /** * Parameters for the admin.getLoggerLevel method. * * @property loggerName - The name of the logger to get levels for */ export type GetLoggerLevelParameters = { loggerName?: string; }; /** * Return type for the `admin.getLoggerLevel` method. * * @property loggerLevels - An object containing the log and display levels for each logger */ export type GetLoggerLevelReturnType = { loggerLevels: { [loggerName: string]: { /** * The current log level of the logger */ logLevel: string; /** * The current display level of the logger */ displayLevel: string; }; }; }; export type GetLoggerLevelErrorType = RequestErrorType; export type GetLoggerLevelMethod = { Method: "admin.getLoggerLevel"; Parameters: GetLoggerLevelParameters; ReturnType: GetLoggerLevelReturnType; }; //# sourceMappingURL=getLoggerLevel.d.ts.map