Appearance
Block Explorer Architecture
The Block Explorer is a Flask web application that indexes and displays blockchain data.
High-Level Overview
Data Processing
The Enhanced Parser continuously indexes blockchain data.
| Component | Function |
|---|---|
| Log Parser | Read Docker logs |
| RPC Client | Query block details |
| Aggregator | Combine and store |
Database Schema
SQLite stores indexed blockchain data.
Web Interface
Flask serves both HTML pages and REST API endpoints.
API Endpoints
| Endpoint | Method | Returns |
|---|---|---|
/api/blocks | GET | Block list with pagination |
/api/block/<hash> | GET | Block details + deployments |
/api/validators | GET | Active validator list |
/api/wallet/<address> | GET | Balance + transaction history |
/api/transfers | GET | Recent transfers |
Data Sources
| Source | Data Type | Access Method |
|---|---|---|
| Docker logs | Block creation events | docker logs command |
| Node RPC | Block details, deploys | show-blocks, show-block |
| Node HTTP | Balance queries | /api/explore-deploy |
Related Documentation
- Explorer Usage Guide - How to use the explorer
- Explorer Query Flow - Data retrieval sequence
- Network Topology - Node connections