Skip to main content

Create a scenario

POST 

/watch/scenarios

Create a scenario: what Radar does for a group of addresses. Only name and action are required; every other field has a default.

  • action: alert_only (alerts only, never buys Energy), add_on_deposit (Energy for one transfer when deposits reach threshold, default "100") or add_after_transfer (Energy for the next transfer after each one that used Energy).
  • threshold: counts USDT that arrives after the address joins the scenario and isn't swept yet. USDT already on the address doesn't count.
  • energy_preset: 65k (a recipient that already holds USDT, default), 131k (any recipient) or custom with energy_custom.
  • energy_alerts: Energy warnings (address.energy.insufficient, address.trx.low). Omitted, they're off for alert_only and on for the Energy actions, which always warn.
  • notify_destination_ids: null sends to every channel (new ones included), [] keeps alerts in Radar, a list sends to those channels only.

Names are unique per account. Creating a scenario costs nothing: Energy is bought only when an address in it needs it.

Request​

Responses​

Successful Response