Interface BlockDataIndexer<TDbContext, TContextData>

Provides extension points for indexing block data parts. At least one of methods must be implemented.

Type Parameters

  • TDbContext

    The type of database context. Usually DbContext, if used with standard @tezos-dappetizer/database.

  • TContextData = unknown

    The type of your custom data that flows in indexingContext through all indexers for a block. See createContextData for more details.

Hierarchy

  • BlockDataIndexer

Properties

name?: string

The explicit name used e.g. to easily identify the indexer in errors.

Methods

  • Indexes a block.

    Parameters

    Returns void | PromiseLike<void>

Generated using TypeDoc