A minimal Node script that callsDocumentation 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.
GET /prices and prints the quoted destAmount. No SDK — just fetch.
File tree
Install
src/quote.ts
Run it
destAmount (USDC, 6 decimals) and gasCostUSD printed.
Next: build the transaction
Feed thepriceRoute into POST /transactions/:network to get ready-to-broadcast calldata. See Market API → How it works.
Related pages
- Market API overview — when to use Market routing.
- Market API → How it works — quote → build → broadcast flow.
- Market API reference — full parameter list.
- SDK — typed TypeScript wrapper if you’d rather not handle HTTP yourself.