viem
Version:
101 lines • 4.43 kB
TypeScript
export declare const metalL2: {
blockExplorers: {
readonly default: {
readonly name: "Explorer";
readonly url: "https://explorer.metall2.com";
readonly apiUrl: "https://explorer.metall2.com/api";
};
};
blockTime: 2000;
contracts: {
readonly l2OutputOracle: {
readonly 1: {
readonly address: "0x3B1F7aDa0Fcc26B13515af752Dd07fB1CAc11426";
};
};
readonly multicall3: {
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
readonly blockCreated: 0;
};
readonly portal: {
readonly 1: {
readonly address: "0x3F37aBdE2C6b5B2ed6F8045787Df1ED1E3753956";
};
};
readonly l1StandardBridge: {
readonly 1: {
readonly address: "0x6d0f65D59b55B0FEC5d2d15365154DcADC140BF3";
};
};
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: 1750;
name: "Metal L2";
nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
experimental_preconfirmationTime?: number | undefined | undefined;
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.metall2.com"];
readonly webSocket: readonly ["wss://rpc.metall2.com"];
};
};
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=metalL2.d.ts.map