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

28 lines 882 B
import { RequestErrorType } from "viem/utils"; export type GetChainConfigReturnType = { chainId: number; homesteadBlock: number; daoForkBlock: number; daoForkSupport: boolean; eip150Block: number; eip150Hash: string; eip155Block: number; eip158Block: number; byzantiumBlock: number; constantinopleBlock: number; petersburgBlock: number; istanbulBlock: number; muirGlacierBlock: number; apricotPhase1BlockTimestamp: number; apricotPhase2BlockTimestamp: number; apricotPhase3BlockTimestamp: number; apricotPhase4BlockTimestamp: number; apricotPhase5BlockTimestamp: number; }; export type GetChainConfigErrorType = RequestErrorType; export type GetChainConfigMethod = { Method: "eth_getChainConfig"; Parameters: []; ReturnType: GetChainConfigReturnType; }; //# sourceMappingURL=getChainConfig.d.ts.map