RandomInner
RandomInner Objects
class RandomInner(RandomInnerProtocol)
A typed view of the 0x2::random::RandomInner state held in the dynamic
field of the [Random] singleton.
try_from_bcs
@classmethod
def try_from_bcs(cls, bytes: bytes) -> RandomInner
Decode a RandomInner from raw BCS bytes.
There is no object-based constructor: the state is stored as a dynamic
field of the 0x8 wrapper, not as a top-level object with its own type
tag.
randomness_round
def randomness_round() -> int
The randomness round the current random_bytes were produced for.