post https://nd-995-911-243.p2pify.com/afb8312f3710a5bc469f4c87cad3a2e4/
The zks_getMainContract
API method is designed to return the address of the main zkSync Era smart contract the L1. This contract address is fundamental for developers and applications interfacing with the zkSync network.
Get your own node endpoint today
Start for free and elevate your app to production levels immediately. No credit card required.
Sign up with your GitHub, X, Google, or Microsoft account for immediate access.
Parameters
none
Response
result
β the address of the zkSync Era main contract on the L1 blockchain.
Use case
This method returns the main contract address where zkSync holds funds on the L1 network (Ethereum). It could be used as interface to make a bridge between L1 and L2.
Try the zks_getMainContract
RPC method yourself
zks_getMainContract
RPC method yourself