Building an AI agent? See llms.txt and llms-full.txt.
curl --request POST \
--url https://api.velora.xyz/transactions/{network} \
--header 'Content-Type: application/json' \
--data '
{
"priceRoute": {},
"userAddress": "<string>",
"srcToken": "<string>",
"destToken": "<string>",
"srcAmount": "<string>",
"destAmount": "<string>",
"slippage": 123
}
'{}Build calldata for an Augustus v6.2 swap from a Market priceRoute.
curl --request POST \
--url https://api.velora.xyz/transactions/{network} \
--header 'Content-Type: application/json' \
--data '
{
"priceRoute": {},
"userAddress": "<string>",
"srcToken": "<string>",
"destToken": "<string>",
"srcAmount": "<string>",
"destAmount": "<string>",
"slippage": 123
}
'{}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 priceRoute or Stale priceRoute | priceRoute modified between quote and tx-build, or older than ~30s | Pass the priceRoute block from POST /quote verbatim; re-quote if more than ~30s elapsed |
Calldata reverts on-chain with INSUFFICIENT_OUTPUT | Slippage tolerance too tight for current market depth | Increase slippage (in bps) on the rebuild, or surface a higher tolerance to the user before retrying |
Calldata reverts with TransferHelper: TRANSFER_FROM_FAILED | ERC-20 allowance to the v6.2 router insufficient (or pointed at the legacy v5 router) | Approve the Augustus v6.2 router address — see Chains & contracts; migrating off v5 → Augustus v5 → v6.2 |
txData gas estimate fails on the user’s RPC | RPC gas estimation can’t simulate the exact block conditions | Use the gas field returned in the response as a baseline + 15–25% headroom |
| Calldata builds for the wrong chain | network path parameter mismatched against the priceRoute.network | Always derive :network from priceRoute.network, not from a client-side variable |
422 Partner not allowed | Partner-key tier doesn’t permit the requested fee/surplus configuration | Drop the disallowed param, or contact partnerships to upgrade the tier |
Augustus calldata + tx fields
The response is of type object.