isZkSyncChain

Checks whether the given chain is part of the zksync stack

function isZkSyncChain(
chain: Readonly<ChainOptions & { rpc: string }>,
): Promise<boolean>;

Parameters

Type

let chain: Readonly<ChainOptions & { rpc: string }>;

Returns

let returnType: Promise<boolean>;