Skip to content

getMainContractAddress

Returns the address of a Main ZKsync Contract.

Usage

example.ts
import { client } from './config'
 
const address = await client.getMainContractAddress();

Returns

Address

Main ZKsync Era smart contract address.