getMainContractAddress
Returns the address of a main ZKsync Chain Contract.
Usage
import { client } from './config'
const address = await client.getMainContractAddress();Returns
Address
Main ZKsync Era smart contract address.
Returns the address of a main ZKsync Chain Contract.
import { client } from './config'
const address = await client.getMainContractAddress();Address
Main ZKsync Era smart contract address.