Skip to main content

RandomInterface

type RandomInterface

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

type RandomInterface interface {
// The object's ID.
Id() *ObjectId
}