IotaSystemState
open class IotaSystemState : Disposable, AutoCloseable, 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.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| id | open override fun id(): ObjectId The object's ID. |
| toString | open override fun toString(): String |
| version | open override fun version(): ULong Version selecting which inner state layout the dynamic field holds. |
Companion object functions
| Name | Summary |
|---|---|
| tryFromBcs | fun tryFromBcs(bytes: ByteArray): IotaSystemState Decode from BCS bytes, without validating the on-chain type tag. |
| tryFromObject | fun tryFromObject(object: Object): IotaSystemState Decode from an on-chain object, validating its Move type tag. |