Skip to main content

RandomProtocol

RandomProtocol Objects

class RandomProtocol(typing.Protocol)

A typed view of the on-chain 0x2::random::Random object (the 0x8 singleton holding the global randomness state).

id

def id() -> ObjectId

The object's ID.