Public API
Endpoints, errors, versioning, and limits.
Endpoints
| Method | Path | Description |
| POST | /v1/intent | Submit unsigned intent; returns candidate id |
| GET | /v1/quotes?intent=… | Aggregated quotes and routes |
| POST | /v1/plan | Build execution plan |
| POST | /v1/settle | Submit signed transaction |
| GET | /v1/receipt/{id} | Fetch execution receipt |
Errors
| Code | HTTP | Meaning |
| INTENT_INVALID | 400 | Malformed fields |
| NO_LIQUIDITY | 409 | Constraints cannot be satisfied |
| TTL_EXPIRED | 410 | Quote expired |
| SLIPPAGE_BREACH | 422 | Realized worse than bound |
| ROUTER_REVERT | 500 | On‑chain execution failed |
Authentication & Limits
- mTLS or API keys for maker endpoints.
- User endpoints rate‑limited per session and IP.
- Versioning via Accept header: application/vnd.veil.v1+json