Skip to main content

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.

CrossChain Bridging (CCTP)

Aegis integrates with Circle’s CrossChain Transfer Protocol (CCTP) to enable AI agents to bridge USDC between supported blockchain networks. This allows agents operating on the Arc Network to move funds to and from other testnet chains like Base Sepolia, Ethereum Sepolia, Arbitrum Sepolia, and more.

How It Works

1

Check supported chains

Query the available destination chains:
curl -X GET https://api.aegisintent.xyz/v1/actions/bridge/chains \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Aegis-Email: agent@example.com"
2

Get a fee estimate

Check the bridging fee for a specific destination chain:
curl -X POST https://api.aegisintent.xyz/v1/actions/bridge/fee \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Aegis-Email: agent@example.com" \
  -H "Content-Type: application/json" \
  -d '{"toChain": "BASE-SEPOLIA"}'
3

Execute the bridge

Submit the bridge transaction:
curl -X POST https://api.aegisintent.xyz/v1/actions/bridge \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Aegis-Email: agent@example.com" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000" \
  -H "X-Aegis-Nonce: 0" \
  -d '{
    "toChain": "BASE-SEPOLIA",
    "amount": "50.00"
  }'
4

Track bridge status

Monitor the bridge progress using the transaction hash:
curl -X POST https://api.aegisintent.xyz/v1/actions/bridge/status \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Aegis-Email: agent@example.com" \
  -H "Content-Type: application/json" \
  -d '{"txHash": "0x892a01f80e0cdbb..."}'

Bridge Parameters

FieldTypeRequiredDescription
toChainstringYesDestination chain name (e.g. "BASE-SEPOLIA", "ETH-SEPOLIA")
amountstringYesAmount of USDC to bridge
fromChainstringNoSource chain (defaults to Arc)
recipientstringNoDestination address (defaults to agent’s own wallet)
EndpointMethodDescription
/v1/actions/bridge/chainsGETList supported destination chains
/v1/actions/bridge/feePOSTGet fee estimate for a destination chain
/v1/actions/bridgePOSTExecute a bridge transfer
/v1/actions/bridge/statusPOSTCheck the status of a bridge transaction
/v1/actions/estimate/bridgePOSTDry-run bridge cost estimation