> For the complete documentation index, see [llms.txt](https://docs.vechain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vechain.org/developer-resources/index-with-graph-node/index-with-openzeppelin/track-subgraph-indexing.md).

# Track Subgraph Indexing

The subgraph starts indexing immediately. You can track its indexing status in the service logs using `docker compose logs -n 10 -f`.

Open the Admin GraphQL Playground to track details about the subgraph at <http://localhost:8030/graphql>.

Use the auto-completion in the UI to learn more about the query possibilities. The following query provides you with status information for the deployed `vebetterdao/tokens` subgraph:

```graphql
{
  indexingStatusForCurrentVersion(subgraphName: "vebetterdao/tokens") {
    synced
    health
    entityCount
    subgraph
    chains {
      chainHeadBlock {
        number
      }
      latestBlock {
        number
      }
    }
    fatalError {
      message
      block {
        number
      }
    }
  }
}
```

The output will be similar to this

```json
{
  "data": {
    "indexingStatusForCurrentVersion": {
      "synced": false,
      "health": "healthy",
      "entityCount": "914",
      "subgraph": "QmezwJ1bGUGAUXehjg1qsTrycRVxsw29vFqVuN5fdzsE98",
      "chains": [
        {
          "chainHeadBlock": {
            "number": "19076170"
          },
          "latestBlock": {
            "number": "18869150"
          }
        }
      ],
      "fatalError": null
    }
  }
}
```

The status shows if the subgraph is fully synchronized with all blockchain data, if it's healthy, and any possible errors. During indexing, it's interesting to learn how many entities have been created (transfer events, balances, etc.), and to track the status, the latest block provides an indication of how far the indexing has progressed.


---

# 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.vechain.org/developer-resources/index-with-graph-node/index-with-openzeppelin/track-subgraph-indexing.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.
