> For the complete documentation index, see [llms.txt](https://docs.ternoa.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ternoa.network/getting-started/javascript-sdk/ternoa-indexer/dictionary.md).

# Dictionary

Ternoa Dictionary records all the native substrate on-chain data of the Ternoa blockchain: blocks, extrinsics, and events. It is a glossary of data that pre-indexes chain events, drastically improving the overall indexing performance. Unlike the Indexer, no data relating to the Ternoa pallets is covered by the Dictionary.

If you already looked at our documentation, you should now understand that the indexing data provided by the chain can be retrieved both on our ([**alphanet indexer**](https://indexer-alphanet.ternoa.dev/) or [**mainnet indexer**](https://indexer-mainnet.ternoa.network/)) and also on our [dictionary](https://dictionary-mainnet.ternoa.dev/).

Since the Dictionary is focused on native substrate on-chain data contained in **blocks**, (instead of being focused on listening events like the indexer), you can use it for :

* Installing it into your own indexer as we do to improve performance.
* Use it to query data exactly like on the indexer

*If you want to know which tool suits you the best, look at the official* [*documentation*](https://academy.subquery.network/academy/tutorials_examples/dictionary.html)*.*


---

# 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.ternoa.network/getting-started/javascript-sdk/ternoa-indexer/dictionary.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.
