Skip to main content
Trade → Spot swaps tokens inside your margin account. It’s how you turn borrowed USDC into SOL (a leveraged long), SOL into USDC (de-risking), or move between any supported tokens without the funds ever leaving the account.
Spot swap card paying 10 SOL to receive 1088.22 USDC via Jupiter, with price impact, health factor before and after, slippage tolerance, min received, route and a Margin account panel

Spot: swap card with quote details and route, and the Margin account block beside it. Click the image to zoom.

1

Choose what you pay

Under You Pay, pick the token and amount, or use 25% / 50% / 75% / Max. Swappable is what your margin account holds of that token.
2

Choose what you receive

Under You Receive, pick the token. The quote fills in the amount you get.
3

Check the details

Expand the rate line for Price Impact, Health Factor before → after, Slippage Tolerance (0.5% by default; Edit to change it) and Min. Received.
4

Check the route

The Route card shows the hops and pools, and the venue badge shows which aggregator won the quote (via Jupiter or Titan).
5

Swap

Click Swap and approve. The swap runs on-chain from your margin account and is health-checked in the same transaction.

Best route

Vanna asks both Jupiter and Titan for a quote and uses the better one. Either way the swap executes from your margin account through Vanna’s program, which only allows the routes and settings its validator approves and checks the account’s health afterwards.

The Margin account block

Beside the swap card: your health factor before → after with its bar, Account leverage before → after, Borrowed, and the Swappable balance of the token you’re paying before → after. Position History below lists your past swaps.

Things to know

  • Swapping doesn’t change your debt. It changes what your collateral is made of, so your health factor barely moves unless prices move afterwards.
  • A swap that would leave the account below the safety floor is blocked before you sign.
  • Without a wallet connected, only the swap card is shown.