# Photon

Photon is the core indexer for Light Protocol, designed to handle and expose compressed state data. It enables developers to efficiently access and interact with ZK-compressed accounts via a dedicated RPC API.

To learn more about Light Protocol and ZK Compression:

* [Light Protocol Overview](https://docs.lightprotocol.com/)
* [Light Protocol GitHub](https://github.com/Lightprotocol/light-protocol)
* [ZK Compression](https://www.zkcompression.com/)

Triton provides access to Photon RPC endpoints, allowing you to query compressed state data directly. This is particularly useful for applications that require fast and efficient access to large datasets without the overhead of traditional account lookups.

Photon is available on shared endpoints and can also be deployed as a dedicated instance for high-demand applications. It supports a range of operations, including querying account states, fetching transaction details, and retrieving historical data.


---

# 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.triton.one/chains/solana/photon.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.
