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?