> For the complete documentation index, see [llms.txt](https://docs.ainetwork.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ainetwork.ai/ain-blockchain/ai-network-design/blockchain-database/states/predefined-structures.md).

# Predefined Structures

## Reserved Characters in Paths

In data paths, the following characters are reserved:

| Characters                                        | Purpose                                           | Example                                                                                                                                         |
| ------------------------------------------------- | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| /                                                 | Reserved for path separator                       | /apps/afan/users                                                                                                                                |
| .                                                 | Reserved for rule configs and owner configs       | <p>{</p><p>  .write: false,</p><p>  ...</p>                                                                                                     |
| \*                                                | Reserved for owner configs                        | <p>{ </p><p>  "apps": {<br>    ".owner": {<br>      "owners": {</p><p>        "\*": {</p><p>...</p>                                             |
| $                                                 | Reserved for path variables in rule configs       | <p>{</p><p>  transfer: {</p><p>    $from: {</p><p>      $to: {</p><p>        $key: {</p><p>          value: {</p><p>            .write: ...</p> |
| {, }                                              | Reserved for variables in built-in function paths | /transfer/{from}/{to}/{key}/value                                                                                                               |
| #, \[, ], \<ASCII control characters 0-31 or 127> | Reserved for other purposes in the future         | -                                                                                                                                               |

## Pre-defined Paths in Database

The following pre-defined paths are used in the blockchain database:

| Path                                                  | Purpose            |
| ----------------------------------------------------- | ------------------ |
| /accounts/$address/balance                            | Account balance    |
| /accounts/$address/nonce                              | Account nonce      |
| /apps                                                 | Applications       |
| /consensus                                            | Consensus          |
| /checkin                                              | Check-in           |
| /deposit/$service\_id/$address/$deposit\_id           | Deposit            |
| /deposit\_accounts/$service\_id/$address/$account\_id | Deposit accounts   |
| /escrow                                               | Escrow             |
| /payments                                             | Payment            |
| /sharding                                             | Sharding           |
| /token/name                                           | Token name         |
| /token/symbol                                         | Token symbol       |
| /token/total\_supply                                  | Token total supply |
| /transfer/$from/$to/$key/value                        | Transfer           |
| /withdraw/$service\_id/$address/$withdraw\_id         | Withdraw           |

Owner configs and rule configs are stored in separate places in the database.


---

# 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.ainetwork.ai/ain-blockchain/ai-network-design/blockchain-database/states/predefined-structures.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.
