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

17 lines (13 loc) 361 B
import { RequestErrorType } from "viem/utils"; /** * The return type for the `eth_baseFee` method. * * @param baseFee - The base fee for the next block. */ export type BaseFeeReturnType = string; export type BaseFeeErrorType = RequestErrorType; export type BaseFeeMethod = { Method: "eth_baseFee"; Parameters: []; ReturnType: BaseFeeReturnType; };