> For the complete documentation index, see [llms.txt](https://docs.aeternity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aeternity.com/aeternity-developer-tools/data-and-analytics/aescan.md).

# æ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:

```plaintext
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:

```javascript
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:

```javascript
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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aeternity.com/aeternity-developer-tools/data-and-analytics/aescan.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
