Skip to main content

zks_getMainContract RPC Method

Returns the address of the zkSync Era contract.

Updated on
Feb 17, 2026

Parameters

This method does not accept any parameters

Returns

result

The address of the zkSync Era contract

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x32400084c286cf3e17e7b677ea9583e60a000324"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x32400084c286cf3e17e7b677ea9583e60a000324"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free