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

```
GET https://docs.ternoa.network/getting-started/javascript-sdk/ternoa-indexer/dictionary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
