TimelockedStakedIota
Namespace: IotaSdk
A typed view of an on-chain
0x3::timelocked_staking::TimelockedStakedIota object.
public class TimelockedStakedIota : ITimelockedStakedIota, System.IDisposable
Inheritance Object → TimelockedStakedIota
Implements ITimelockedStakedIota, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
TimelockedStakedIota(UInt64)
public TimelockedStakedIota(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
ExpirationTimestampMs()
Epoch timestamp (ms) of when the lock expires.
public ulong ExpirationTimestampMs()
Returns
Id()
The object's ID.
public ObjectId Id()
Returns
Label()
public string? Label()
Returns
StakedIota()
The wrapped StakedIota carrying the staked principal.
public StakedIota StakedIota()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static TimelockedStakedIota TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObject(Object)
Decode from an on-chain object, validating its Move type tag.
public static TimelockedStakedIota TryFromObject(Object object)
Parameters
object Object