Skip to main content
POST
/
v1
/
actions
/
yield
/
deposit
Deposit USDC into Vault
curl --request POST \
  --url https://api.aegisintent.xyz/v1/actions/yield/deposit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --header 'X-Aegis-Email: <x-aegis-email>' \
  --header 'X-Aegis-Nonce: <x-aegis-nonce>' \
  --data '
{
  "amount": "<string>"
}
'

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.

Deposit USDC into the yield vault. The API handles ERC-20 token approval automatically. Note: Making a deposit triggers a strict MEV withdrawal lock cooldown (e.g., 1 hour). Attempting to withdraw before the lock expires will result in a 403 error.

Authorizations

Authorization
string
header
required

Provide raw API session token issued by /v1/connect/complete

Headers

X-Aegis-Email
string
required

Agent email address

Idempotency-Key
string
required

Unique UUID for financial idempotency

X-Aegis-Nonce
integer
required

Current agent nonce

Body

application/json
amount
string
required

Amount of USDC to deposit (e.g. '10.50')

Response

200

Deposit Initiated Successfully