Type alias OnBlock<TChain, TIncludeTransactions, TBlockTag>

OnBlock<TChain, TIncludeTransactions, TBlockTag>: ((block, prevBlock) => void)

Type Parameters

  • TChain extends Chain | undefined = Chain

  • TIncludeTransactions extends boolean = false

  • TBlockTag extends BlockTag = "latest"

Type declaration

Generated using TypeDoc