ZKSync API
zks_getMainContract
Retrieves the main contract address, also known as the DiamondProxy
post/zks_getMainContract
Request
- Base URLhttps://api.mainnet.abs.xyz
- URLhttps://api.mainnet.abs.xyz/zks_getMainContract
- Authnone declared
Request body
Response
Returns the main contract address
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x32400084c286cf3e17e7b677ea9583e60a000324"
}Changes
No recorded changes to this operation across all 2 revisions of this API.