Subscribe a webhook to Trnch alerts for a wallet
trnch_alerts_subscribeGet a signed webhook POST when a token a wallet holds is newly flagged by Trnch. Give wallet (any address) and webhookUrl (https, a public domain name, port 443; IPs, localhost and private or internal names are refused). Each alert carries the token, the Trnch verdict { status, category, rugged, dumped }, canSell and the trnch_sell call to make. Checked every 5 minutes, one POST per token and subscription; tokens the wallet already holds that Trnch keeps out are sent once at the start (initial: true); a failed delivery is retried on the next run. Returns the subscription with a secret shown once: it signs every POST in X-TRNCH-Signature (t=,v1=). 3 subscriptions per key, 5 active per wallet, 20 per destination host (409); the same wallet again replaces its URL; 10 failed deliveries in a row disable it. Requires an API key (created by wallet signature), sent as Authorization: Bearer .
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"webhookUrl": "<webhookUrl>"
},
"name": "trnch_alerts_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Wallet address to watch on Robinhood Chain (chainId 4663). | |
| webhookUrl | Yes | https URL on a public domain name, port 443. |