primitives

Plan a multi-leg payout (gated, dry-run by default)

Plans a multi-recipient/multi-leg payout (up to 20 legs), each via /compare. Plans & stores only — it does NOT move funds. Execution needs the watcher running with PRIMITIVES_LIVE=1 AND the record carrying live:true; the shipped default (live:false) simulates every tick. Rate limit 30/min.

post/api/route/batch

Request

  • Base URL: https://api.anygas.xyz/svc
  • URL: https://api.anygas.xyz/svc/api/route/batch
  • Auth: none declared

Request body

liveboolean

Ignored unless the watcher runs with PRIMITIVES_LIVE=1.

Response

Planned batch record

idstring
statusstring
liveboolean
legsobject[]
warningsstring[]
notestring

Example response

{
  "id": "batch_086f0679dfac4a905d",
  "status": "planned"
}

Changes

No recorded changes to this operation across all 1 revision of this API.