Skip to main content

TimelockedStakedIota

TimelockedStakedIota Objects​

class TimelockedStakedIota(TimelockedStakedIotaProtocol)

A typed view of an on-chain 0x3::timelocked_staking::TimelockedStakedIota object.

try_from_bcs​

@classmethod
def try_from_bcs(cls, bytes: bytes) -> TimelockedStakedIota

Decode from BCS bytes, without validating the on-chain type tag.

try_from_object​

@classmethod
def try_from_object(cls, object: Object) -> TimelockedStakedIota

Decode from an on-chain object, validating its Move type tag.

expiration_timestamp_ms​

def expiration_timestamp_ms() -> int

Epoch timestamp (ms) of when the lock expires.

id​

def id() -> ObjectId

The object's ID.

staked_iota​

def staked_iota() -> StakedIota

The wrapped StakedIota carrying the staked principal.