Skip to main content
Want gasless + MEV-protected fills instead? Start with nextjs-delta-swap, or call GET /v2/quote?mode=ALL and let Velora pick the path; see Trading modes.

Outcome

A Next.js 14 (App Router) page with a fully working Velora Market swap: quote → build calldata → sign and send via Wagmi/Viem. The user signs one transaction. The route uses Augustus v6.2 against the chain selected by their connected wallet.

Prompt

End-state check

  • A signed swap transaction lands on-chain in your wallet’s history.
  • priceRoute.version on the most recent quote is "6.2".
  • The token approval (if needed) was granted to priceRoute.contractAddress, not to a hardcoded address.
Last modified on June 14, 2026