zks_getMainContract
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getMainContract \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getMainContract",
"params": []
}
'{
"jsonrpc": "2.0",
"result": "0x32400084c286cf3e17e7b677ea9583e60a000324",
"id": 1
}ZKSync API
zks_getMainContract
Retrieves the main contract address, also known as the DiamondProxy
POST
/
zks_getMainContract
zks_getMainContract
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getMainContract \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getMainContract",
"params": []
}
'{
"jsonrpc": "2.0",
"result": "0x32400084c286cf3e17e7b677ea9583e60a000324",
"id": 1
}Documentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Was this page helpful?
⌘I