UNPKG

viem

Version:

TypeScript Interface for Ethereum

108 lines 4.76 kB
export declare const megaeth: { blockExplorers: { readonly default: { readonly name: "Etherscan"; readonly url: "https://mega.etherscan.io"; readonly apiUrl: "https://api.etherscan.io/v2/api"; }; readonly blockscout: { readonly name: "Blockscout"; readonly url: "https://megaeth.blockscout.com"; readonly apiUrl: "https://megaeth.blockscout.com/api"; }; }; blockTime: 1000; contracts: { readonly disputeGameFactory: { readonly 1: { readonly address: "0x8546840adF796875cD9AAcc5B3B048f6B2c9D563"; }; }; readonly multicall3: { readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11"; readonly blockCreated: 0; }; readonly portal: { readonly 1: { readonly address: "0x7f82f57F0Dd546519324392e408b01fcC7D709e8"; readonly blockCreated: 21644285; }; }; readonly l1StandardBridge: { readonly 1: { readonly address: "0x0CA3A2FBC3D770b578223FBB6b062fa875a2eE75"; readonly blockCreated: 21644285; }; }; readonly gasPriceOracle: { readonly address: "0x420000000000000000000000000000000000000F"; }; readonly l1Block: { readonly address: "0x4200000000000000000000000000000000000015"; }; readonly l2CrossDomainMessenger: { readonly address: "0x4200000000000000000000000000000000000007"; }; readonly l2Erc721Bridge: { readonly address: "0x4200000000000000000000000000000000000014"; }; readonly l2StandardBridge: { readonly address: "0x4200000000000000000000000000000000000010"; }; readonly l2ToL1MessagePasser: { readonly address: "0x4200000000000000000000000000000000000016"; }; }; ensTlds?: readonly string[] | undefined; id: 4326; name: "MegaETH"; nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; experimental_preconfirmationTime?: number | undefined | undefined; rpcUrls: { readonly default: { readonly http: readonly ["https://mainnet.megaeth.com/rpc"]; readonly webSocket: readonly ["wss://mainnet.megaeth.com/ws"]; }; }; sourceId: 1; supportsTransactionReplacementDetection?: boolean | undefined | undefined; testnet?: boolean | undefined | undefined; custom?: Record<string, unknown> | undefined; extendSchema?: Record<string, unknown> | undefined; fees?: import("../../index.js").ChainFees<undefined> | undefined; formatters: { readonly block: { exclude: [] | undefined; format: (args: import("../index.js").OpStackRpcBlock, action?: string | undefined) => import("../index.js").OpStackBlock; type: "block"; }; readonly transaction: { exclude: [] | undefined; format: (args: import("../index.js").OpStackRpcTransaction, action?: string | undefined) => import("../index.js").OpStackTransaction; type: "transaction"; }; readonly transactionReceipt: { exclude: [] | undefined; format: (args: import("../index.js").OpStackRpcTransactionReceipt, action?: string | undefined) => import("../index.js").OpStackTransactionReceipt; type: "transactionReceipt"; }; }; prepareTransactionRequest?: ((args: import("../../index.js").PrepareTransactionRequestParameters, options: { client: import("../../index.js").Client; phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters"; }) => Promise<import("../../index.js").PrepareTransactionRequestParameters>) | [fn: ((args: import("../../index.js").PrepareTransactionRequestParameters, options: { client: import("../../index.js").Client; phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters"; }) => Promise<import("../../index.js").PrepareTransactionRequestParameters>) | undefined, options: { runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[]; }] | undefined; serializers: { readonly transaction: typeof import("../index.js").serializeTransactionOpStack; }; verifyHash?: ((client: import("../../index.js").Client, parameters: import("../../index.js").VerifyHashActionParameters) => Promise<import("../../index.js").VerifyHashActionReturnType>) | undefined; }; //# sourceMappingURL=megaeth.d.ts.map