Create an RHC price alert (PRO+)
Market-cap drop alert with an optional recovery leg, baselined against the token's market cap at creation. One-shot state machine: watching → dipped → recovered; dip_low ratchets down while dipped; terminal on the dip when no recovery_pct is set.
⚠️ Latency differs from the Solana price alerts. Solana alerts are evaluated inside a live in-memory price loop every 250 ms. RHC alerts are event-driven: each trade on the chain's trade feed (rhc:dex_trade) is checked against the alerted token set, with price-table polls (every 5 s while the feed is degraded or a trade carried no market cap, 60 s otherwise) and a trade-tape replay after a feed outage as safety nets. Latency is a few seconds (the chain trade flush is about 2 s), not sub-second. Every create response carries an evaluation block restating this. Do not size a strategy on the Solana figure. token_address, drop_pct and recovery_pct are immutable after creation.
Request
- Base URL: https://madeonsol.com/api/v1
- URL: https://madeonsol.com/api/v1/rhc/price-alerts
- Auth: HTTP bearer
Request body
Response
Created — includes one-time webhook_secret and an evaluation block describing how the alert is evaluated.
Example response
{
"evaluation": {
"trigger": "rhc:dex_trade",
"interval_seconds": 5,
"fallback_poll_seconds": {
"fast": 5,
"slow": 60
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.