Protocols

Get protocol by hash

Returns a protocol with the specified hash.

get/v1/protocols/{hash}

Path parameters

hashstring required

Protocol hash

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