Skip to main content

RandomInnerInterface

type RandomInnerInterface​

A typed view of the `0x2::random::RandomInner` state held in the dynamic field of the [`Random`] singleton.

BCS​

The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-move-types/bcs-schema.abnf\).

type RandomInnerInterface interface {
Epoch() uint64
RandomBytes() []byte
// The randomness round the current `random_bytes` were produced for.
RandomnessRound() uint64
Version() uint64
}