zks_getProtocolVersion

Retrieves the current protocol version.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Version IDintegerOptional
Specific version ID to query.

Response

Current protocol version information.
version_idinteger or null
Protocol version ID
timestampuint64 or null
Unix timestamp of the version's activation
verification_keys_hashesobject or null
Hashes of various verification keys used in the protocol
base_system_contractsobject or null
Hashes of the base system contracts like bootloader and default AA
l2_system_upgrade_tx_hashstring or nullformat: "^0x[a-fA-F0-9]{64}$"
Hash of the transaction used for the system upgrade, if any