Skip to content

Pattern

Indexer read model

Chain events copied into a database your product can query. The chain remains the source for those events.

Use it when

The product reads public chain data and must not pretend the database is the consensus.

Do not use it when

The data is private, or the database is being sold as the legal register.

  • Finality rule
  • Reorg handling
  • Retention
  • Access control on the API

Linked components