When Hooks execute they leave behind information about the status of that execution. This appears in the Originating Transaction metadata as an
sfHookExecutions block. This block contains the following fields:
|Hooks can end in three ways:
This is not the same as sfHookReturnCode!
|The SHA512H of the Hook at the time it was executed.
|The account the Hook ran on.
|The integer returned as the third parameter of
|The string returned in the first two parameters of
rollback, if any.
|The total number of webassembly instructions that were executed when the Hook ran.
|The total number of Emitted Transactions produced by the Hook.
|The order in which the Hook was executed (as distinct from other Hook Executions on the same Originating Transaction.)
|The number of Hook State changes the Hook made during execution.
Updated about 2 years ago