@proto-kit/protocol • Docs
Documentation / @proto-kit/protocol / toBeforeBlockHookArgument
Function: toBeforeBlockHookArgument()
toBeforeBlockHookArgument(
state):object
Parameters
• state: Pick<BlockProverState, "eternalTransactionsList" | "incomingMessages" | "blockHashRoot">
Returns
object
blockHashRoot
blockHashRoot:
Field
eternalTransactionsHash
eternalTransactionsHash:
Field=eternalTransactionsList.commitment
incomingMessagesHash
incomingMessagesHash:
Field=incomingMessages.commitment