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.