Skip to main content

IClock

Namespace: IotaSdk

A typed view of the on-chain 0x2::clock::Clock object (the 0x6 singleton carrying the consensus timestamp).

public interface IClock

Attributes NullableContextAttribute

Methods

Id()

The object's ID.

ObjectId Id()

Returns

ObjectId

TimestampMs()

The clock's timestamp (ms), set by consensus every commit.

ulong TimestampMs()

Returns

UInt64