æScan

æScan Technical Documentation

Explorer Architecture and Integration

æScan is built on æternity's core infrastructure, utilizing both node and middleware services to provide comprehensive blockchain data access. The explorer interfaces with the latest protocol versions:

plaintextCopyNode Version: 7.1.0
Middleware Version: 1.91.1

Access Points

Production Environment

Copyhttps://aescan.io

Testing Environment

Copyhttps://testnet.aescan.io

API Integration

æScan leverages the æternity middleware API for data retrieval and processing. Key endpoints include:

javascriptCopy// Block data retrieval
GET /middleware/blocks/latest
GET /middleware/blocks/hash/{hash}
GET /middleware/blocks/height/{height}

// Transaction queries
GET /middleware/transactions/hash/{hash}
GET /middleware/transactions/account/{address}

// State channel information
GET /middleware/channels/active
GET /middleware/channels/transactions/{channel_id}

Development Resources

API Documentation

  • Node API: Comprehensive documentation for direct node interaction

    Copyhttps://docs.aeternity.io/node
  • Middleware API: Extended functionality for building applications

    Copyhttps://docs.aeternity.io/middleware

WebSocket Support

æScan maintains WebSocket connections for real-time data updates. Example connection:

javascriptCopyconst ws = new WebSocket('wss://mainnet.aeternity.io/mdw/websocket');
ws.onmessage = (event) => {
    const data = JSON.parse(event.data);
    // Handle real-time updates
};

Hyperchain Integration

The explorer is being enhanced to support Hyperchains, æternity's scaling solution. Developers will be able to:

  • Track cross-chain transactions

  • Monitor Hyperchain validator activity

  • Access Hyperchain-specific metrics

  • Query state across multiple chains

For developers looking to build applications on æternity, æScan's infrastructure provides a reliable reference implementation for blockchain data access and processing. The codebase demonstrates best practices for handling æternity protocol interactions and real-time blockchain data management.

Last updated