POST
Swap USDC/EURC on Uniswap v3 from the governed account

Authorizations

X-Engine-Key
string
header
required

The shared engine key (ENGINE_API_KEY). Internal routes only.

X-Wallet-Token
string
header
required

The run's wallet token (wt_…, 15 minutes), naming one user and one Mind. Internal routes only.

Body

application/json
sell
string
required

Token symbol, e.g. USDC

buy
string
required

Token symbol, e.g. EURC

amount
string
required

Decimal string, e.g. "1.50"

Response

{ status: "swapped", via, paymentId, sell, buy, minimum, recipient, txHash, explorer }, { status: "no_quote", reason }, or a refusal { status: "limit_exceeded" | "not_allowed" | "failed", message, paymentId }. Counts against the daily cap and is stored as a payment; over the review threshold it is refused (only transfers can wait for review)