Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Japanese version: /ja/doc/indexer/data-model.html

Data Model

TL;DR

  • Indexer is Postgres-first.
  • It stores entities such as txs, receipts, token_transfers, and ops_metrics_samples.

Key Points

  • receipt_status is stored on txs
  • token transfers are extracted from receipt logs

Sources

  • tools/indexer/README.md
  • tools/indexer/src/db.ts