# Network Listeners

Network Listeners allow you to get notified when certain events happen on a Network.

## Network Events <a href="#network-events" id="network-events"></a>

### **Block Event**

All the details about the block when a block is created on the ledger. The event data is a JSON structure containing the following fields:

* **channelName**: Name of the channel that generated the event
* **eventType**: BlockEvent
* **eventData**: The entire block and its data that is written on the ledger. To understand the Block data structure, please refer [here](https://hyperledger-fabric.readthedocs.io/en/latest/ledger/ledger.html#blocks).

### **Transaction Commit Event**

Every time a transaction is committed to the blockchain, the transaction data will be sent. The event data is a JSON structure containing the following fields:

* **channelName**: Name of the channel that generated the event
* **eventType**: TransactionEvent
* **eventData**: The entire transaction and its data that is written on the ledger. To understand the transaction data structure, please refer [here](https://hyperledger-fabric.readthedocs.io/en/latest/ledger/ledger.html#transactions).
