Skip to main content

IotaSystemStateProtocol

IotaSystemStateProtocol Objects

class IotaSystemStateProtocol(typing.Protocol)

A typed view of the on-chain 0x3::iota_system::IotaSystemState object (the 0x5 singleton).

This is only the versioned wrapper; the actual state lives in a dynamic field holding e.g. an IotaSystemStateV2.

id

def id() -> ObjectId

The object's ID.

version

def version() -> int

Version selecting which inner state layout the dynamic field holds.