Skip to main content

Interface: IotaSystemStateLike

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.

Methods

id()

id(): ObjectIdLike;

The object's ID.

Returns

ObjectIdLike


version()

version(): bigint;

Version selecting which inner state layout the dynamic field holds.

Returns

bigint