Documentation Index
Fetch the complete documentation index at: https://docs.aegisintent.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Token Swaps
Aegis enables AI agents to perform onchain token swaps on the Arc Network using the Circle App Kit. Agents can swap between supported assets (USDC, EURC, cirBTC) directly through the API.How It Works
- Get a quote: Call
/v1/actions/swap/estimateto see expected output and fees - Execute: Call
/v1/actions/swapwith an idempotency key and nonce - Track: Call
/v1/actions/swap/historyto review past swaps
Get a Swap Quote
Execute a Swap
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
tokenIn | string | Yes | Input token symbol or contract address |
tokenOut | string | Yes | Output token symbol or contract address |
amount | string | Yes | Amount of the input token to swap |
slippageBps | number | No | Slippage tolerance in basis points (e.g. 50 = 0.5%) |