Skip to main content

IotaSystemStateInterface

type IotaSystemStateInterface

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`.

type IotaSystemStateInterface interface {
// The object's ID.
Id() *ObjectId
// Version selecting which inner state layout the dynamic field holds.
Version() uint64
}