viem
Version:
89 lines • 4.36 kB
TypeScript
export declare const zksyncLocalNode: {
blockExplorers?: {
[key: string]: {
name: string;
url: string;
apiUrl?: string | undefined;
};
default: {
name: string;
url: string;
apiUrl?: string | undefined;
};
} | undefined | undefined;
blockTime: 1000;
contracts?: {
[x: string]: import("../../index.js").ChainContract | {
[sourceId: number]: import("../../index.js").ChainContract | undefined;
} | undefined;
ensRegistry?: import("../../index.js").ChainContract | undefined;
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
multicall3?: import("../../index.js").ChainContract | undefined;
erc6492Verifier?: import("../../index.js").ChainContract | undefined;
} | undefined;
ensTlds?: readonly string[] | undefined;
id: 270;
name: "ZKsync CLI Local Node";
nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
experimental_preconfirmationTime?: number | undefined | undefined;
rpcUrls: {
readonly default: {
readonly http: readonly ["http://localhost:3050"];
};
};
sourceId?: number | undefined | undefined;
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
testnet: true;
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-cli-local-node";
};
//# sourceMappingURL=zksyncLocalNode.d.ts.map