primitives

Create a trigger-based transfer (gated)

Plans & stores a trigger-based transfer (priceAbove/priceBelow against on-chain feeds, or timeAfter). Same double gate as batch; default live:false simulates. Rate limit 30/min.

post/api/route/conditional

Request

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

Request body

routeobject required
liveboolean

Example request

{
  "when": {
    "asset": "ETH/USD"
  }
}

Response

Conditional record

idstring
routeobject
whenobject
liveboolean
statusstring
runsobject[]
notestring

Example response

{
  "id": "cond_3728705d2654926bc1",
  "status": "armed"
}

Changes

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