primitives

Create a scheduled / recurring transfer (gated)

Plans & stores a scheduled or recurring transfer. Same double gate as batch (PRIMITIVES_LIVE=1 + live:true); default live:false simulates. Rate limit 30/min.

post/api/route/schedule

Request

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

Request body

routeobject required

A single route object {fromChain,fromToken,toChain,toToken,amount,toAddress}.

everySecondsinteger

Omit for a one-shot.

countinteger
liveboolean

Response

Schedule record

idstring
routeobject
everySecondsinteger
remaininginteger
countinteger
liveboolean
statusstring
runsobject[]
notestring

Example response

{
  "id": "sched_cde9a12f1107fa3652",
  "everySeconds": 3600,
  "remaining": 24,
  "count": 24,
  "status": "active"
}

Changes

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