> 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/protocol/network-layer/stratum.md).

# Stratum

Stratum is æternity's mining pool protocol, enabling coordinated mining operations by allowing miners to connect to pool servers that distribute work packages and manage reward distribution. The protocol is adapted from Bitcoin's Stratum protocol but modified to accommodate æternity's Bitcoin-NG consensus mechanism, which introduces distinct roles for keyblock mining and microblock creation.

The [Stratum documentation](/developer-documentation/aeternity/docs/stratum.md) provides detailed protocol specifications, including JSON-RPC message formats, mining methods (subscribe, authorize, notify, submit), error handling, and connection management. It covers important pool operator considerations regarding Bitcoin-NG integration and includes technical details for implementing both client and server sides of the protocol, making it essential reading for mining pool operators and mining software developers.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Stratum in Protocol Documentation</td><td><a href="/files/Mn0raWPCGdVF9LgIRfVj">/files/Mn0raWPCGdVF9LgIRfVj</a></td><td><a href="/spaces/yxhRUAwn7tH8JUboTur7/pages/aTGwi3pSVG1By3lBefba">/spaces/yxhRUAwn7tH8JUboTur7/pages/aTGwi3pSVG1By3lBefba</a></td></tr></tbody></table>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.aeternity.com/aeternity-developer-tools/protocol/network-layer/stratum.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
