Skip to main content

ClockInterface

interface ClockInterface

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

Inheritors

Clock

Functions

NameSummary
idabstract fun id(): ObjectId
The object's ID.
timestampMsabstract fun timestampMs(): ULong
The clock's timestamp (ms), set by consensus every commit.