Reference
Quote Server API
HTTP routes exposed by the reference quote server.
The reference quote server is a JSON HTTP service. It returns structured JSON,
sets CORS headers for app integration, emits server-timing, and logs
structured timing or error records.
Routes
| Method | Path | Purpose |
|---|---|---|
GET | /healthz | health check |
POST | /quote/sign | generic signed swap payload |
POST | /quote/native-stablecoin/sign | native stablecoin signed payload |
POST | /quote/native-stablecoin/return | native stablecoin return payload |
POST | /quote/product/open | protected CDP product open quote |
POST | /quote/product/return | protected CDP product return quote |
POST | /quote/registered-issuer/sign | registered issuer signed payload |
POST | /quote/registered-issuer/m1-deposit | M1 deposit material |
POST | /quote/registered-issuer/m1-redeem | M1 redeem material |
POST | /quote/liquidation | single liquidation quote |
POST | /quote/liquidations | liquidation inventory |
Error Shape
Validation errors return:
{
"error": "QuoteRequestError",
"message": "..."
}Unexpected failures return:
{
"error": "InternalServerError",
"message": "Unexpected quote server failure"
}Source File
quote-server/src/http.ts