@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
23 lines (20 loc) • 710 B
text/typescript
import { RpcSchemaOverride } from "viem";
import { BaseFeeMethod } from "./types/baseFee.js";
import { FeeConfigMethod } from "./types/feeConfig.js";
import { GetActiveRulesAtMethod } from "./types/getActiveRulesAt.js";
import { GetChainConfigMethod } from "./types/getChainConfig.js";
import { MaxPriorityFeePerGasMethod } from "./types/maxPriorityFeePerGas.js";
export type AvalanchePublicMethods = [
BaseFeeMethod,
GetChainConfigMethod,
MaxPriorityFeePerGasMethod,
FeeConfigMethod,
GetActiveRulesAtMethod
];
/**
* The RPC schema for the Avalanche Public methods.
*
* @see {@link AvalanchePublicMethods}
*/
export type AvalanchePublicRpcSchema = RpcSchemaOverride &
AvalanchePublicMethods;