Type alias BlockHandler

BlockHandler: ((block, ctx) => Promise<void> | void)

Type declaration

    • (block, ctx): Promise<void> | void
    • Type for handler in onBlock

      @note: the block contains transactions also. The block handler is being called, after all TransactionHandler

      Parameters

      Returns Promise<void> | void

Generated using TypeDoc