nansen-smart-alerts
Original:🇺🇸 English
Translated
Manage smart alerts — list, create, update, toggle, delete. Use when setting up or managing token flow alerts, smart money alerts, or notification rules.
10installs
Sourcenansen-ai/nansen-cli
Added on
NPX Install
npx skill4agent add nansen-ai/nansen-cli nansen-smart-alertsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Smart Alerts
CRUD management for smart alerts. Alerts are internal-only (requires Nansen internal API key).
Quick Reference
bash
nansen alerts list --table
nansen alerts create --name <name> --type <type> --chains <chains> --telegram <chatId>
nansen alerts update <id> [--name <name>] [--chains <chains>]
nansen alerts toggle <id> --enabled|--disabled
nansen alerts delete <id>Options Reference
| Flag | Create | Update | Toggle | Delete |
|---|---|---|---|---|
| required | required | required | |
| required | optional | ||
| required | required with type-specific flags | ||
| recommended | optional | ||
| chat ID | optional | ||
| webhook URL | optional | ||
| webhook URL | optional | ||
| optional | optional | ||
| flag | flag | ||
| flag | flag | flag | |
| optional (JSON escape hatch) | optional |
Alert Types
1. sm-token-flows
— Smart Money Token Flows
sm-token-flowsTrack aggregated SM inflow/outflow. At least one flow threshold should be specified.
Type-specific flags:
- ,
--inflow-1h-min/max,--inflow-1d-min/max(USD thresholds)--inflow-7d-min/max - ,
--outflow-1h-min/max,--outflow-1d-min/max--outflow-7d-min/max - ,
--netflow-1h-min/max,--netflow-1d-min/max--netflow-7d-min/max - (repeatable) — include specific tokens
--token <address:chain> - (repeatable)
--exclude-token <address:chain> - /
--token-sector <name>(repeatable)--exclude-token-sector <name> --token-age-max <days>- ,
--market-cap-min/max <usd>--fdv-min/max <usd>
Example:
bash
nansen alerts create \
--name 'SM ETH Inflow >5M' \
--type sm-token-flows \
--chains ethereum \
--telegram 5238612255 \
--inflow-1h-min 5000000 \
--token 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:ethereum2. common-token-transfer
— Token Transfer Events
common-token-transferTrack real-time transfer events matching specified criteria.
Subject types: , , ,
Format: (e.g. )
addressentitylabelcustom-label--subject type:value--subject label:"Centralized Exchange"Type-specific flags:
- (comma-separated)
--events <buy,sell,swap,send,receive> - ,
--usd-min/max <usd>--token-amount-min/max <n> - (repeatable) — addresses/entities/labels to track
--subject <type:value> - (repeatable) — requires
--counterparty <type:value>--subject - /
--token <address:chain>(repeatable)--exclude-token <address:chain> - /
--token-sector <name>(repeatable)--exclude-token-sector <name> - ,
--token-age-min/max <days>--market-cap-min/max <usd> - /
--exclude-from <type:value>(repeatable)--exclude-to <type:value>
Event direction notes:
- for counterparties =
buyfor subjectssell - for counterparties =
sendfor subjectsreceive - To track "any address sending to CEX": use with
--subject, notreceivewith--counterpartysend
Example:
bash
nansen alerts create \
--name 'Large USDC Transfers' \
--type common-token-transfer \
--chains ethereum \
--telegram 123456789 \
--events send,receive \
--usd-min 1000000 \
--token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48:ethereum3. smart-contract-call
— Smart Contract Interactions
smart-contract-callTrack contract calls matching specified criteria.
Type-specific flags:
--usd-min/max <usd>- (repeatable, e.g.
--signature-hash <hash>for0x095ea7b3)approve - /
--caller <type:value>(repeatable)--exclude-caller <type:value> - /
--contract <type:value>(repeatable)--exclude-contract <type:value>
Example:
bash
nansen alerts create \
--name 'Uniswap V3 Large Swaps' \
--type smart-contract-call \
--chains ethereum \
--telegram 123456789 \
--usd-min 1000000 \
--contract entity:"Uniswap V3"Notes
- Chain aliases: Hyperliquid = , BSC =
hyperevm.bnb - Multiple channels can be combined:
--telegram 123 --slack https://... - merges raw JSON on top of named flags (escape hatch for fields without named flags).
--data '<json>' - Alert endpoints are internal-only. Non-internal users receive 404.
- Use single quotes for names with or special characters:
$--name 'SM >$1M'