Skip to content

Block Explorer Architecture

The Block Explorer is a Flask web application that indexes and displays blockchain data.

Back to Component Diagrams

High-Level Overview

Data Processing

The Enhanced Parser continuously indexes blockchain data.

ComponentFunction
Log ParserRead Docker logs
RPC ClientQuery block details
AggregatorCombine and store

Database Schema

SQLite stores indexed blockchain data.

Web Interface

Flask serves both HTML pages and REST API endpoints.

API Endpoints

EndpointMethodReturns
/api/blocksGETBlock list with pagination
/api/block/<hash>GETBlock details + deployments
/api/validatorsGETActive validator list
/api/wallet/<address>GETBalance + transaction history
/api/transfersGETRecent transfers

Data Sources

SourceData TypeAccess Method
Docker logsBlock creation eventsdocker logs command
Node RPCBlock details, deploysshow-blocks, show-block
Node HTTPBalance queries/api/explore-deploy

ASI:Chain DevNet - Development Network