indexes

Index — is a basic DipDup entity connecting the inventory and specifying data handling rules.

Each index has a unique string identifier acting as a key under the indexes config section:

indexes:
  my_index:
    kind: operation
    datasource: tzkt_mainnet

There can be various index kinds; currently, the following options are supported for the kind field:

  • big_map
  • head
  • operation
  • token_transfer

There's also a special template kind, which is used to generate new indexes from a template during startup.

All the indexes have to specify the datasource field, an alias of an existing entry under the datasources section.

Indexing scope

One can optionally specify block levels DipDup has to start and stop indexing at, e.g., there's a new version of the contract, and there's no need to track the old one anymore.

indexes:
  my_index:
    first_level: 1000000
    last_level: 2000000