Alert Rules — Overview
Alert rules define the conditions under which Opsion sends a notification. Each rule targets one or more wallets and specifies conditions on transaction properties.
Rule structure
json
{
"name": "Whale transfer in",
"wallets": ["0xabc…", "0xdef…"],
"conditions": {
"direction": "inbound",
"token": "any",
"value_usd": { "gte": 100000 }
},
"cooldown_seconds": 60,
"channels": ["slack-alerts", "pagerduty"]
}Evaluation
Rules are evaluated against every confirmed transaction involving a monitored wallet. All conditions in a rule must be satisfied simultaneously for an alert to fire.
Cooldown
The cooldown_seconds field prevents alert spam by silencing repeated matches for the same rule and wallet within the cooldown window.
