> For the complete documentation index, see [llms.txt](https://docs.bloxchain.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bloxchain.app/protocol-reference/protocol.md).

# Protocol overview

Vendored **Bloxchain Protocol** and SDK documentation for reading on this site. Upstream source: [Bloxchain-Protocol/docs](https://github.com/PracticalParticle/Bloxchain-Protocol/tree/99beac2d6e6d7567c23b25cecaf6f4053f31c987/docs) (`contracts-v1.0.0`). Re-sync: `./scripts/sync-protocol-docs.sh`

Pin: [Releases — protocol documentation pin](/resources/releases.md#protocol-documentation-pin)

## Source repository (GitHub)

| Link                                                                                                                                                  | Use                                        |
| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| [Bloxchain-Protocol](https://github.com/PracticalParticle/Bloxchain-Protocol)                                                                         | Clone, issues, discussions                 |
| [Releases and tags](https://github.com/PracticalParticle/Bloxchain-Protocol/releases)                                                                 | Pin npm packages and deployed bytecode     |
| [Docs at pinned commit](https://github.com/PracticalParticle/Bloxchain-Protocol/tree/99beac2d6e6d7567c23b25cecaf6f4053f31c987/docs)                   | Edit upstream, then re-sync into this site |
| [Full NatSpec tree](https://github.com/PracticalParticle/Bloxchain-Protocol/tree/99beac2d6e6d7567c23b25cecaf6f4053f31c987/docs/_auto_generated_docs_) | Contracts beyond the curated import set    |

**Reading on this site:** use the pages below. **Deploy, fork, or patch:** use the GitHub repository at a tagged release.

## Architecture

* [Bloxchain architecture](/protocol-reference/bloxchain-architecture.md)
* [Core contract graph](/protocol-reference/bloxchain-architecture/core-contract-graph.md)
* [State machine engine](/protocol-reference/bloxchain-architecture/state-machine-engine.md)
* [State abstraction](/protocol-reference/bloxchain-architecture/state-abstraction.md)
* [State abstraction vs account abstraction](/protocol-reference/bloxchain-architecture/state-abstraction-vs-account-abstraction.md)
* [Account pattern](/protocol-reference/bloxchain-architecture/account-pattern.md)
* [Architecture patterns](/protocol-reference/bloxchain-architecture/architecture-patterns.md)

## SDK & contracts

* [Getting started](/protocol-reference/getting-started.md)
* [API reference](/protocol-reference/api-reference.md)
* [Types & interfaces](/protocol-reference/api-reference/types-interfaces.md)
* [SecureOwnable](/protocol-reference/api-reference/secure-ownable.md)
* [Runtime RBAC](/protocol-reference/api-reference/runtime-rbac.md)
* [Guard controller](/protocol-reference/api-reference/guard-controller.md)
* [Definition contract](/protocol-reference/api-reference/definition-contract.md)
* [Meta-transactions](/protocol-reference/api-reference/meta-transactions.md)
* [Best practices](/protocol-reference/getting-started/best-practices.md)
* [Examples basic](/protocol-reference/getting-started/examples-basic.md)
* [Contract reference (NatSpec)](/protocol-reference/api-reference/contract-reference.md)

## Platform context

New to the model? [How governed operations work](/introduction/how-it-works.md)

Operate in the browser: [Platform](/platform-guide/platform.md)


---

# 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.bloxchain.app/protocol-reference/protocol.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.
