Create liquidation alert
create_liquidation_alertHave Ironflow post Hyperliquid liquidations to the user's Discord channel, Slack channel, Telegram chat or HTTPS webhook as they happen (within seconds), filtered by market, side, size and wallet. It keeps running after the conversation: use it when the user wants to be told about liquidations, not just to see them now. Needs an API key (free key: 1 alert; Explorer 5; Builder 20). Give url (a Discord channel webhook from channel settings, Integrations, Webhooks, Copy Webhook URL; a Slack incoming webhook; or any public https URL) or telegram_chat (then tell the user to add the bot named in the result's setup to that chat). A plain webhook gets signed JSON, and its signing_secret appears only in this result, so pass it on. Then call test_liquidation_alert to check that it arrives.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_liquidation_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Where to post: https://discord.com/api/webhooks/..., https://hooks.slack.com/services/... or a public https URL (or use telegram_chat) | |
| name | No | Label shown in each message, e.g. BTC whales | |
| side | No | Which positions: long = longs liquidated (default any) | |
| address | No | Only this wallet's liquidations (0x...) | |
| markets | No | Comma-separated markets, e.g. BTC,ETH-PERP,xyz:NVDA (Hyperliquid names work); omit for every market | |
| min_usd | No | Smallest liquidation to report, in USD (default 0; 100000 keeps a channel readable) | |
| telegram_chat | No | A Telegram chat instead of url: @channel or group name, or a numeric chat id (-100...) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alert id (UUID) | |
| name | No | Label shown in each message | |
| side | No | any, long (longs liquidated) or short | |
| type | No | webhook, discord, slack or telegram | |
| setup | No | What to do before the first message arrives (Telegram: the bot to add to the chat) | |
| notice | No | Present when the API added a note: how a market name was read, that data starts later than asked because of the history window, or a next step such as a free key | |
| status | No | active or disabled (after 20 failed deliveries in a row) | |
| address | No | Only this wallet, when set | |
| markets | No | Markets watched; empty means every market | |
| min_usd | No | Smallest liquidation reported, USD | |
| failures | No | Failed deliveries in a row | |
| created_at | No | Creation time, RFC 3339 | |
| last_error | No | The destination's last error | |
| sent_count | No | Liquidations delivered so far | |
| destination | No | Host it posts to, without the secret part of the URL | |
| last_sent_at | No | Last delivery, RFC 3339; null before the first | |
| signing_secret | No | Webhooks only: HMAC key for the X-Ironflow-Signature header, shown only here |