Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

RandomnessStateUpdateTransaction

System transaction to update the source of on-chain randomness.

type RandomnessStateUpdateTransaction {
epoch: Int
randomnessRound: Int
randomBytes: Base64
randomnessObjInitialSharedVersion: Int
}

Fields

RandomnessStateUpdateTransaction.epoch ● Int scalar

Epoch of the randomness state update transaction.

RandomnessStateUpdateTransaction.randomnessRound ● Int scalar

Randomness round of the update.

RandomnessStateUpdateTransaction.randomBytes ● Base64 scalar

Updated random bytes, Base64 encoded.

RandomnessStateUpdateTransaction.randomnessObjInitialSharedVersion ● Int scalar

The initial version of the randomness object that it was shared at.

Implemented By

TransactionKind union