Skip to content

Conversation

@mustafademiray
Copy link
Member

@mustafademiray mustafademiray commented Dec 1, 2025

This PR updates the Indexer API page for the Envio Indexer. It includes the setup process for both HTTP queries and real-time WebSocket subscriptions.

image

Query Examples:
image

Each Query example contains the query, the variable that the query requires, the relative schema from the Indexer, and the TypeScript implementation example of it:
image
image

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Deployed with Cloudflare Pages ☁️ 🚀 🆗

@mustafademiray mustafademiray changed the title [DRAFT] indexer api guide docs: update indexer api guide Dec 2, 2025
@mustafademiray mustafademiray marked this pull request as ready for review December 2, 2025 15:06
@federico-freddi
Copy link

federico-freddi commented Dec 8, 2025

This PR updates the Indexer API page for the Envio Indexer. It includes the setup process for both HTTP queries and real-time WebSocket subscriptions.

image Query Examples: image

Each Query example contains the query, the variable that the query requires, the relative schema from the Indexer, and the TypeScript implementation example of it: image image

generally speaking looks fine but I would like just add more details to the queries and more specific on the parameters side, for example explain the differences between Token and Asset, _eq and _ilke (we suggest to use _eq for performance but require lowercase parameters)...


- [Algolia Docs](https://www.algolia.com/doc/)
```bash
npm install graphql-request graphql
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other libraries, maybe say "any graphql client library" will work, this is an example.

@mustafademiray mustafademiray merged commit 6b0919e into main Dec 11, 2025
3 checks passed
@mustafademiray mustafademiray deleted the docs/indexer-api branch December 11, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants