schema.graphql

schema.graphql

Ponder currently supports a subset of the Graph Protocol schema definition language. Please reference the Graph's documentation (opens in a new tab) for more detailed documentation.

⚠️

In a future release, Ponder will likely deprecate the Graph Protocol schema definition language in favor of a Ponder-native approach. Avoid using new & advanced Graph Protocol features.

Supported features

  • Event handlers
  • @entity type directive
  • @derivedFrom field directive
  • Optional and required fields
  • Built-in scalar types (Bytes, BigInt, BigDecimal)

Unsupported features

  • Full text search
  • Call handlers
  • Block handlers
  • Anonymous events
  • The immutable argument to the @entity type directive is allowed for compatibility, but immutability is not enforced