Developer guide / Building DApps
Data Indexing and Querying
An indexer turns your contracts' events into a queryable API, so your dApp can build dashboards, track events or query user actions without scanning the chain. On Somnia, index with Envio HyperIndex, or listen to events directly over WebSocket.
In this section, you’ll learn:
- How to index Somnia with Envio HyperIndex and query it with GraphQL
- Listening to blockchain events over WebSocket
Indexing is essential for any developer building real-time dApps, analytics dashboards, or event-driven logic on Somnia.