Skip to main content

Endpoints

Proposal types

  • CONTRACT_CALL: typed generic Soroban invocation with a contract/function-scoped session.
  • DCA: bounded Aquarius strict-send swap.
  • REBALANCE: target-weight analysis and bounded Aquarius execution.
  • DISBURSEMENT: one or more SEP-41 transfers with recipient and total limits.
Schedules use { kind: "CRON" | "INTERVAL", expression, timezone }. Finite maxUses is required while activation is priced per run.

State model

PROPOSEDPAYMENT_REQUIREDREADY_TO_ACTIVATEACTIVE. Active automations may become PAUSED, COMPLETED, CANCELLED, FAILED, or EXPIRED. A failed run stores lastError; it does not silently bypass authorization or financial limits.

Idempotency and uncertainty

Payment session records prevent replay of successful activation settlement. A network timeout after submission is indeterminate: query the transaction and automation state before creating a replacement authorization.