Decorator-based Indexing
Using decorated indexing methods is recommended for most use cases. Decorators are easy to use and can be tailored for specific use cases, like indexing a specific entrypoint or changes to a specific bigmap.
Decorators are currently only available in TypeScript. If you want to write an indexer using pure JavaScript, you will have to use interface-based indexing.
You can check our OBJKTs demo for an example showing how to use decorator-based indexing.
Last updated