Interface BesuEvents.LogListener

Enclosing interface:
BesuEvents

public static interface BesuEvents.LogListener
The listener interface for receiving log events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLogEmitted(org.hyperledger.besu.plugin.data.LogWithMetadata logWithMetadata)
    Invoked for each log (both added and removed) when a new block is added to the blockchain.
  • Method Details

    • onLogEmitted

      void onLogEmitted(org.hyperledger.besu.plugin.data.LogWithMetadata logWithMetadata)
      Invoked for each log (both added and removed) when a new block is added to the blockchain.
      Parameters:
      logWithMetadata - the log with associated metadata. see https://ethereum.org/en/developers/docs/apis/json-rpc/