curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getProtocolVersion \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getProtocolVersion",
"params": []
}'
{
"jsonrpc": "2.0",
"result": {
"version_id": 22,
"timestamp": 1710264138,
"verification_keys_hashes": {
"params": {
"recursion_node_level_vk_hash": "0x5a3ef282b21e12fe1f4438e5bb158fc5060b160559c5158c6389d62d9fe3d080",
"recursion_leaf_level_vk_hash": "0x400a4b532c6f072c00d1806ef299300d4c104f4ac55bd8698ade78894fcadc0a",
"recursion_circuits_set_vks_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"recursion_scheduler_level_vk_hash": "0x063c6fb5c70404c2867f413a8e35563ad3d040b1ad8c11786231bfdba7b472c7"
},
"base_system_contracts": {
"bootloader": "0x010007ede999d096c84553fb514d3d6ca76fbf39789dda76bfeda9f3ae06236e",
"default_aa": "0x0100055b041eb28aff6e3a6e0f37c31fd053fc9ef142683b05e5f0aee6934066"
},
"l2_system_upgrade_tx_hash": null
},
"id": 1
}
Gets the protocol version
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getProtocolVersion \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getProtocolVersion",
"params": []
}'
{
"jsonrpc": "2.0",
"result": {
"version_id": 22,
"timestamp": 1710264138,
"verification_keys_hashes": {
"params": {
"recursion_node_level_vk_hash": "0x5a3ef282b21e12fe1f4438e5bb158fc5060b160559c5158c6389d62d9fe3d080",
"recursion_leaf_level_vk_hash": "0x400a4b532c6f072c00d1806ef299300d4c104f4ac55bd8698ade78894fcadc0a",
"recursion_circuits_set_vks_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"recursion_scheduler_level_vk_hash": "0x063c6fb5c70404c2867f413a8e35563ad3d040b1ad8c11786231bfdba7b472c7"
},
"base_system_contracts": {
"bootloader": "0x010007ede999d096c84553fb514d3d6ca76fbf39789dda76bfeda9f3ae06236e",
"default_aa": "0x0100055b041eb28aff6e3a6e0f37c31fd053fc9ef142683b05e5f0aee6934066"
},
"l2_system_upgrade_tx_hash": null
},
"id": 1
}
Returns the protocol version information
The response is of type any
.
Was this page helpful?