Skip to main content

TransactionBlockKind

The kind of transaction block, either a programmable transaction or a system transaction.

union TransactionBlockKind = ConsensusCommitPrologueTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction | TransactionDenyRulesUpdateTransaction | EndOfEpochTransaction

Possible types​

TransactionBlockKind.ConsensusCommitPrologueTransaction object​

System transaction that runs at the beginning of a checkpoint, and is responsible for setting the current value of the clock, based on the timestamp from consensus.

TransactionBlockKind.GenesisTransaction object​

System transaction that initializes the network and writes the initial set of objects on-chain.

TransactionBlockKind.ProgrammableTransactionBlock object​

A user transaction that allows the interleaving of native commands (like transfer, split coins, merge coins, etc) and move calls, executed atomically.

TransactionBlockKind.RandomnessStateUpdateTransaction object​

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

TransactionBlockKind.TransactionDenyRulesUpdateTransaction object​

System transaction that applies an add/remove delta to the on-chain transaction deny rules; the switch states are absolute.

TransactionBlockKind.EndOfEpochTransaction object​

System transaction that supersedes ChangeEpochTransaction as the new way to run transactions at the end of an epoch. Behaves similarly to ChangeEpochTransaction but can accommodate other optional transactions to run at the end of the epoch.

Member Of​

TransactionBlock object