madeonsol_price_alerts_create
Create a price alert that fires when a Solana token's market cap drops below a set percentage threshold. Optionally receive a notification when it recovers.
Instructions
Create a price alert. Captures baseline MC from current token_prices. Fires when MC drops below baseline × (1 − drop_pct/100). Optional recovery_pct fires again on recovery. Returns webhook_secret ONCE — store it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label | |
| drop_pct | Yes | Drop % threshold (0.01–99.99). Alert fires when MC drops below baseline × (1 − drop_pct/100). | |
| token_mint | Yes | Solana mint address (base58) | |
| webhook_url | No | Required when delivery_mode includes 'webhook' | |
| recovery_pct | No | Recovery % (0.01–1000). After dip fires, re-fires when MC rises above dip_low × (1 + recovery_pct/100). | |
| delivery_mode | No | Default 'webhook' |