Skip to content

getDefaultBridgeAddresses

Returns the addresses of the default ZKsync Era bridge contracts on both L1 and L2.

Usage

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

Returns

GetDefaultBridgeAddressesReturnType

Addresses of the default ZKsync Era bridge contracts on both L1 and L2.