Skip to main content

POST /queue

Stores a proposed transfer, runs analyzeRisk() inline against the vault’s patterns and policy, and routes it by verdict:
  • APPROVE (< 40) — server self-calls /execute, broadcasts, and notifies Telegram; returns autoApproved: true and the signature
  • REVIEW (40–70) — marks in_review, sends a Telegram message with ✅ / ❌ / 🔎 buttons
  • BLOCK (≥ 70) — marks in_review, sends an urgent Telegram alert
If screeningDisabled is set, the proposal is stored and returned without scoring.

Request

Response

If risk analysis fails (e.g. patterns can’t be loaded), the proposal is still stored and the response includes riskError instead of risk.