Explorer Integration
Using the indexer as a backend for the Lux Explorer
The Lux Indexer provides the data layer for the Lux Explorer frontend.
API Compatibility
The indexer implements the Blockscout API v2 specification, so the explorer frontend can use it as a drop-in replacement for the Blockscout Elixir backend.
Switching the Frontend
Point the explorer frontend to the indexer:
NEXT_PUBLIC_API_HOST=http://api-indexer.lux.networkNo frontend code changes needed.
Advantages Over Blockscout
| Feature | Blockscout (Elixir) | Lux Indexer (Go) |
|---|---|---|
| DAG chain support | No | Yes (7 chains) |
| P-Chain support | No | Yes |
| Multi-chain (100+) | No | Yes |
| DeFi protocol indexing | No | Yes (20+ protocols) |
| Memory usage | Higher | Lower |
| Build time | Slower | Faster |
When to Use Blockscout
- You need the full Blockscout microservices stack (stats, sig-provider, visualizer)
- You need the admin panel
- You're already running Blockscout infrastructure