Protocols

Get current protocol

Returns current protocol.

get/v1/protocols/current

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

{"stackTrail":"components:schemas:Protocol:properties:extras","oasType":"schema","type":"unknown","description":"Off-chain extras","nullable":true}

Changes