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.