@@ -54,6 +54,12 @@ The indexer service is responsible for polling and processing real-time batches
...
@@ -54,6 +54,12 @@ The indexer service is responsible for polling and processing real-time batches
* Process and persist new bridge events
* Process and persist new bridge events
* Synchronize L1 proven/finalized withdrawals with their L2 initialization counterparts
* Synchronize L1 proven/finalized withdrawals with their L2 initialization counterparts
### L1 Polling
L1 blocks are only indexed if they contain:
- L1 system contract events
- Batch commitment events
#### API
#### API
The indexer service runs a lightweight health server adjacently to the main service. The health server exposes a single endpoint `/healthz` that can be used to check the health of the indexer service. The health assessment doesn't check dependency health (ie. database) but rather checks the health of the indexer service itself.
The indexer service runs a lightweight health server adjacently to the main service. The health server exposes a single endpoint `/healthz` that can be used to check the health of the indexer service. The health assessment doesn't check dependency health (ie. database) but rather checks the health of the indexer service itself.