fetch-logo
ConceptsConceptsGuidesGuidesExamplesExamplesReferencesReferencesAPIsAPIs
GitHub (opens in a new tab)
  • References
        • Almanac contract overview
        • Registration and endpoints weighting
    • Ledger
      • Versions
      • Active networks
      • Mainnet archives
      • Validators security
    • Indexer
      • Endpoints / Playground UIs
      • Querying
      • Entities
      • Versioning
  • References
        • Almanac contract overview
        • Registration and endpoints weighting
    • Ledger
      • Versions
      • Active networks
      • Mainnet archives
      • Validators security
    • Indexer
      • Endpoints / Playground UIs
      • Querying
      • Entities
        • Introduction
        • Primitive entities
        • Entity relationship diagrams
      • Versioning
References
Indexer
Entities

Entities

Introduction

An entity refers to a specific type of data that the indexer keeps track of. These entities can range from fundamental building blocks such as blocks, transactions, and messages to more complex constructs. Anyway, each entity type has its own attributes and relationships, making it a fundamental unit of information within the system.

Entities tracked by the indexer exist at varying levels of abstraction. "Lower-level" entities include the primitives ↗️ (i.e. blocks, transactions, messages, and events), upon which "higher-level" entities are constructed (e.g. LegacyBridgeSwaps).

Some entities are derived from objects which do not correspond to any network state change (e.g. failed transactions and their messages).

In the case of failed transactions, it is desirable to index the associated data for end-user reference. This notion may also apply to other objects but should be considered carefully to avoid storing invalid or useless data.

Primitive entities

If you wish to have additional information, visit schema.graphql ↗️ (opens in a new tab).

Primitive entities include:

  • blocks
  • transactions
  • messages
  • events
  • event attributes

Entity relationship diagrams

entity relationship diagram legend

entity database relationship diagram

entity api relationship diagram

Was this page helpful?

QueryingVersioning
footer-logo

Main website

Integrations

Events

We’re hiring!

Twitter (opens in a new tab)Telegram (opens in a new tab)Discord (opens in a new tab)GitHub (opens in a new tab)Youtube (opens in a new tab)LinkedIn (opens in a new tab)Reddit (opens in a new tab)
Sign up for developer updates