UNPKG

viem

Version:

TypeScript Interface for Ethereum

80 lines 3.9 kB
export declare const treasure: { blockExplorers: { readonly default: { readonly name: "Treasure Block Explorer"; readonly url: "https://treasurescan.io"; }; }; blockTime: 1000; contracts: { readonly multicall3: { readonly address: "0x2e29fe39496a56856D8698bD43e1dF4D0CE6266a"; readonly blockCreated: 101; }; }; ensTlds?: readonly string[] | undefined; id: 61166; name: "Treasure"; nativeCurrency: { readonly decimals: 18; readonly name: "MAGIC"; readonly symbol: "MAGIC"; }; experimental_preconfirmationTime?: number | undefined | undefined; rpcUrls: { readonly default: { readonly http: readonly ["https://rpc.treasure.lol"]; readonly webSocket: readonly ["wss://rpc.treasure.lol/ws"]; }; }; sourceId?: number | undefined | undefined; supportsTransactionReplacementDetection?: boolean | undefined | undefined; testnet: false; 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; }; //# sourceMappingURL=treasure.d.ts.map