User Docs
UserDeveloper
  • Intro
    • What is Web3alert?
    • How can Web3alert be helpful?
    • Login and Privacy
    • FAQ
  • Concepts
    • Log in
    • Projects
    • Triggers
      • Templates
      • All events and calls
      • Smart contracts
    • Filters
    • Messengers
      • How to add a messenger?
      • Webhooks
    • Event-based and state-based alerts
  • Features
    • Substrate address conversion
  • Guides
    • How to track Kusama Society events
  • Extras
    • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Concepts

Filters

PreviousSmart contractsNextMessengers

Last updated 2 years ago

Was this helpful?

With filters, users can receive notifications that are specific to certain wallets, big transfers within the network, or events with various conditions. The utilization of filters can refine the scope of alerts to be sent, which can be quite helpful.

E.g., without filters, a subscription to the "Balances.transfer" trigger will generate alerts for every single transfer within the network, which could result in spamming. In this case, Web3alert will automatically disable such subscriptions to prevent spamming.

To receive as sharp alerts as possible, several filters can be utilized. The filters can be combined with logical connectors such as "AND" and "OR".

Filters connected by "AND" will group them together, and alerts will only be sent if all the filters in the group allow it. On the other hand, filters connected by "OR" will create a new filter group, and notifications will be sent if any of the filter groups permit it.