Tezos Dappetizer
  • Quick Start
  • How-to Guides
    • Using PostgreSQL
    • Exposing API with Hasura
  • Reference
    • Decorator-based Indexing
      • Indexing Entrypoint Call
      • Indexing Storage Change
      • Indexing Bigmap Update
      • Indexing Incoming Transaction
    • Interface-based Indexing
    • Configuration
    • Command Line
    • Usage Statistics
  • Technical Concepts
    • Indexing Cycle
    • Indexer Modules
  • Token Indexer
    • Introduction
    • Running Standalone in Docker
  • API Docs
  • dappetizer GitLab
Powered by GitBook
On this page

Was this helpful?

  1. Reference

Interface-based Indexing

PreviousIndexing Incoming TransactionNextConfiguration

Last updated 3 years ago

Was this helpful?

With interface-based indexing, you create a class or an object that implements the interface (for indexing contracts) or the interface (for indexing non-specific block data). This class will contain indexing logic.

This can generally give you a bit more flexibility at the expense of needing more boilerplate code (compared to ).

You can check our for an example showing how to use interface-based indexing.

ContractIndexer
BlockDataIndexer
decorator-based indexing
OBJKTs JavaScript demo