CEX_CAPITAL strategy jobs. The backend proxies all /api/v1/tee/* requests to the TEE gateway, avoiding browser mixed-content restrictions.
See TEE Integration for the full Provider workflow including ECIES encryption and order signing.
GET /api/v1/tee/attestation
Get the TEE enclave’s public key for encrypting the CEX API key. Auth: None (public)Response
eciesjs (browser/Node).
POST /api/v1/tee/jobs
Initialize a CEX_CAPITAL task in the TEE. Call this after deploying the strategy vault on-chain. Auth: Wallet auth (X-Wallet-* headers) — the backend verifies you are the on-chain Client for this job.
Sign message: AACP:tee-jobs:<jobId>:<timestamp_ms>
Request body
Response
Proxied directly from the TEE —200, 400, 409, or 500.
POST /api/v1/tee/jobs/:jobId/orders
Submit a signed trading order to the TEE. The TEE verifies the Provider’s EIP-191 signature internally. Auth: None required at the HTTP level (TEE validatesprovider_signature)
Request body
Response
Proxied directly from the TEE —200, 400, 401, 404, or 500.
GET /api/v1/tee/jobs/:jobId/status
Get the current TEE execution status for a job. Auth: None (public)Query parameters
Response
Poll this endpoint to monitor job progress. For 4-hour attested snapshots persisted on-chain, use GET /api/v1/jobs/:jobId/snapshots.