<!-- 0Gkit docs — 0gkit-indexer
     Source: https://docs.0gkit.com/packages/0gkit-indexer
     LLM-friendly Markdown twin of the page. -->

# 0gkit-indexer

Reorg-safe polling indexer for chain events with persistable cursors.

## Install

```bash
pnpm add @foundryprotocol/0gkit-indexer
```

## Exports

- `CursorState`
- `CursorStore`
- `DecodedEvent`
- `FromBlock`
- `Indexer`
- `IndexerOptions`
- `IndexerStatus`
- `MemoryCursorStore`
- `SubscribeOptions`

See the package README and source in
[`packages/0gkit-indexer/`](https://github.com/rajkaria/0gkit/tree/main/packages/0gkit-indexer)
for usage examples.
