Lux Docs

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.network

No frontend code changes needed.

Advantages Over Blockscout

FeatureBlockscout (Elixir)Lux Indexer (Go)
DAG chain supportNoYes (7 chains)
P-Chain supportNoYes
Multi-chain (100+)NoYes
DeFi protocol indexingNoYes (20+ protocols)
Memory usageHigherLower
Build timeSlowerFaster

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

On this page