@proto-kit/protocol • Docs
Documentation / @proto-kit/protocol / constructBatch
Function: constructBatch()
constructBatch(
stateTransitions,applied):AppliedStateTransitionBatch
Constructs a AppliedBatch based on a list of STs and the flag whether to be applied or not. The AppliedBatch is a condensed commitment to a batch of STs.
Parameters
• stateTransitions: StateTransition<any>[]
• applied: Bool