Protocols

Get current protocol

Returns current protocol.

get/v1/protocols/current

Request

  • Base URL
    https://api.tzkt.io
  • URL
    https://api.tzkt.io/v1/protocols/current
  • Auth
    none declared

Response

codeinteger

Protocol code, representing a number of protocol changes since genesis (mod 256, but -1 for the genesis block)

hashstring required

Hash of the protocol

versioninteger

Global version number

firstLevelinteger

Block height where the protocol was applied

firstCycleinteger

Index of the first cycle started with the protocol

firstCycleLevelinteger

Level of the first block of the first cycle started with the protocol

lastLevelinteger nullable

Block height where the protocol ends. null if the protocol is active

extrasunknown

Changes

No recorded changes to this operation across all 1 revision of this API.