Recipe · Uniswap V2 · Ethereum, BNB Chain, Base and Arbitrum

Alert on a swap spike in a DEX pool

Each trade in a Uniswap V2-style pool emits Swap. SmartAlert counts swaps in 5-minute windows and alerts when they are far above the norm for this hour of the day, so the busy afternoon does not look like an incident and a burst at night does.

The rule

The rule

This is how the rule looks in the new-alert form. You enter the contract address when you create it.

Rule

from contract events
Watch
Number of Swap events per 5 minutes
Fire when
Above the norm for this hour
Severity
Warning

TemplateOffered automatically for pools with Swap, Sync, Mint, Burn

Try it on your own contract

Where it would have fired

Every rule can be checked on history before you turn it on: you see where it would have fired over the last days.

Channels

Where the alert goes

Telegram on every plan; Slack, Discord and webhook on paid plans. A new project gets Pro limits for 14 days, no card needed.

  • TelegramFree
  • SlackPro
  • DiscordPro
  • WebhookPro

Works on: Ethereum, BNB Chain, Base, Arbitrum. · Free plan: up to 3 rules.

Turn it on

Turn it on

  1. 1

    Add the pool address.

  2. 2

    Check "Swap spike".

  3. 3

    Choose a channel.

Why it matters

A sudden wave of swaps is how arbitrage on a broken price, a sandwich bot or an exploit looks from the outside. You want to look at the pool before your users do.

Try it on your own contract

Paste a contract address, pick the recipe, choose where alerts go. The first 14 days have Pro limits.