TimelockedIotaBalance
Namespace: IotaSdk
public class TimelockedIotaBalance : ITimelockedIotaBalance, System.IDisposable
Inheritance Object → TimelockedIotaBalance
Implements ITimelockedIotaBalance, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
TimelockedIotaBalance(UInt64)
public TimelockedIotaBalance(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
Locked()
The locked IOTA amount in nanos.
public ulong Locked()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static TimelockedIotaBalance TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObject(Object)
Decode from an on-chain object, validating its Move type tag.
public static TimelockedIotaBalance TryFromObject(Object object)
Parameters
object Object