TimelockedIotaBalance
open class TimelockedIotaBalance : Disposable, AutoCloseable, TimelockedIotaBalanceInterface
A typed view of an on-chain 0x2::timelock::TimeLock<Balance<IOTA>> object — a time-locked IOTA balance, e.g. Stardust vested rewards.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| expirationTimestampMs | open override fun expirationTimestampMs(): ULong Epoch timestamp (ms) of when the lock expires. |
| id | open override fun id(): ObjectId The object's ID. |
| label | open override fun label(): String? |
| locked | open override fun locked(): ULong The locked IOTA amount in nanos. |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| tryFromBcs | fun tryFromBcs(bytes: ByteArray): TimelockedIotaBalance Decode from BCS bytes, without validating the on-chain type tag. |
| tryFromObject | fun tryFromObject(object: Object): TimelockedIotaBalance Decode from an on-chain object, validating its Move type tag. |