UNPKG

viem

Version:

TypeScript Interface for Ethereum

86 lines 4.21 kB
export declare const zksync: { blockExplorers: { readonly default: { readonly name: "ZKsync Explorer"; readonly url: "https://explorer.zksync.io/"; readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api"; }; }; blockTime: 200; contracts: { readonly multicall3: { readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963"; readonly blockCreated: 3908235; }; readonly erc6492Verifier: { readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C"; readonly blockCreated: 45659388; }; }; ensTlds?: readonly string[] | undefined; id: 324; name: "ZKsync Era"; nativeCurrency: { readonly decimals: 18; readonly name: "Ether"; readonly symbol: "ETH"; }; experimental_preconfirmationTime?: number | undefined | undefined; rpcUrls: { readonly default: { readonly http: readonly ["https://mainnet.era.zksync.io"]; readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"]; }; }; sourceId?: number | undefined | undefined; supportsTransactionReplacementDetection?: boolean | undefined | undefined; testnet?: boolean | undefined | undefined; custom: { readonly getEip712Domain: import("../../zksync/index.js").EIP712DomainFn<import("../index.js").ZkSyncTransactionSerializable, import("../index.js").ZkSyncEIP712TransactionSignable>; }; extendSchema?: Record<string, unknown> | undefined; fees?: import("../../index.js").ChainFees<undefined> | undefined; formatters: { readonly block: { exclude: [] | undefined; format: (args: import("../index.js").ZkSyncRpcBlock, action?: string | undefined) => import("../index.js").ZkSyncBlock; type: "block"; }; readonly transaction: { exclude: [] | undefined; format: (args: import("../index.js").ZkSyncRpcTransaction, action?: string | undefined) => import("../index.js").ZkSyncTransaction; type: "transaction"; }; readonly transactionReceipt: { exclude: [] | undefined; format: (args: import("../index.js").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("../index.js").ZkSyncTransactionReceipt; type: "transactionReceipt"; }; readonly transactionRequest: { exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined; format: (args: import("../index.js").ZkSyncTransactionRequest, action?: string | undefined) => import("../index.js").ZkSyncRpcTransactionRequest & { paymaster: never; gasPerPubdata: never; factoryDeps: never; paymasterInput: never; customSignature: never; }; type: "transactionRequest"; }; }; 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("../../zksync/serializers.js").serializeTransaction; }; verifyHash?: ((client: import("../../index.js").Client, parameters: import("../../index.js").VerifyHashActionParameters) => Promise<import("../../index.js").VerifyHashActionReturnType>) | undefined; readonly network: "zksync-era"; }; //# sourceMappingURL=zksync.d.ts.map