API Reference

zks_getMainContract

Returns the address of the zkSync Era contract.

Example

Request

curl --location --request POST 'https://zksync-era-mainnet.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "id": 1, "method": "zks_getMainContract", "params": [  ]}'

Result

{
    "jsonrpc": "2.0",
    "result": "0x32400084c286cf3e17e7b677ea9583e60a000324",
    "id": 1
}

Language
Click Try It! to start a request and see the response here!