Building an AI agent? See llms.txt and llms-full.txt.
curl --request POST \
--url https://api.velora.xyz/quote \
--header 'Content-Type: application/json' \
--data '
{
"srcToken": "<string>",
"destToken": "<string>",
"amount": "<string>",
"chainId": 123,
"srcDecimals": 123,
"destDecimals": 123,
"mode": "ALL",
"userAddress": "<string>",
"slippage": 123,
"partner": "my-app-name"
}
'{
"priceRoute": {},
"delta": {},
"hmac": "<string>"
}Get a Market route, or a combined Market + Delta quote with mode=ALL.
curl --request POST \
--url https://api.velora.xyz/quote \
--header 'Content-Type: application/json' \
--data '
{
"srcToken": "<string>",
"destToken": "<string>",
"amount": "<string>",
"chainId": 123,
"srcDecimals": 123,
"destDecimals": 123,
"mode": "ALL",
"userAddress": "<string>",
"slippage": 123,
"partner": "my-app-name"
}
'{
"priceRoute": {},
"delta": {},
"hmac": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://new-docs.velora.xyz/llms.txt
Use this file to discover all available pages before exploring further.
| Symptom | Root cause | Fix |
|---|---|---|
400 Invalid srcToken or Invalid destToken | Native ETH sent as 0x0 or lowercase 0xeee...e | Use the mixed-case placeholder 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE |
Response has delta block but no priceRoute | mode=ALL was set and Delta won the routing decision | Branch on response.delta vs response.priceRoute, or force mode=MARKET if you need the Market path specifically |
422 Unsupported chain | chainId not in the supported-chain list for the current API host | Hit GET /chains to confirm the live list; see Chains & contracts |
priceRoute.maxImpactReached: true | Price impact exceeds the configured ceiling for this route | Reduce trade size, split into hops, or pass an explicit higher maxImpact if your product accepts the risk |
Stale priceRoute rejected by POST /transactions | More than ~30s elapsed between quote and tx-build, route became invalid | Re-quote and pass the fresh priceRoute verbatim; never cache across user gestures |
| 429 from the gateway | Rate-limited without a partner key, or partner-key tier exceeded | See Authentication to attach a partner key, or back off and retry |
SELL, BUY ALL, MARKET, DELTA "ALL"
"my-app-name"