Ponder
GitHubGitHub (opens in a new tab) (opens in a new tab)
  • Introduction
  • Getting started
    • Create a new project
    • Migrate a Graph Protocol subgraph
  • Guides
    • Design your schema
    • Create & update entities
    • Query the GraphQL API
    • Deploy to production
  • API reference
    • Create Ponder
    • Event handlers
    • ponder.config.ts
    • schema.graphql
  • FAQ
    • Ponder vs The Graph
    • How does Ponder store data?
  • Advanced
    • Custom log filters
    • Proxy contracts
  • Introduction
  • Getting started
    • Create a new project
    • Migrate a Graph Protocol subgraph
  • Guides
    • Design your schema
    • Create & update entities
    • Query the GraphQL API
    • Deploy to production
  • API reference
    • Create Ponder
    • Event handlers
    • ponder.config.ts
    • schema.graphql
  • FAQ
    • Ponder vs The Graph
    • How does Ponder store data?
  • Advanced
    • Custom log filters
    • Proxy contracts
Edit this page on GitHub →
Advanced
Custom log filters

Custom log filters

By default, Ponder organizes event logs by contract address via the contracts field in ponder.config.ts.

However, Ponder also supports filtering logs by event signature and indexed event argument values. For example, you can use this feature to handle all ERC20 Transfer events for an entire network, regardless of the contract that emitted them.

See the API of the filters field in ponder.config.ts for more details.

AdvancedProxy contracts