Skip to main content

TimelockedIotaBalance

Namespace: IotaSdk

public class TimelockedIotaBalance : ITimelockedIotaBalance, System.IDisposable

Inheritance ObjectTimelockedIotaBalance
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

UInt64

Id()

The object's ID.

public ObjectId Id()

Returns

ObjectId

Label()

public string? Label()

Returns

String?

Locked()

The locked IOTA amount in nanos.

public ulong Locked()

Returns

UInt64

TryFromBcs(Byte[])

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

public static TimelockedIotaBalance TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

TimelockedIotaBalance

Exceptions

SdkFfiException

TryFromObject(Object)

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

public static TimelockedIotaBalance TryFromObject(Object object)

Parameters

object Object

Returns

TimelockedIotaBalance

Exceptions

SdkFfiException