This page hasn't been translated yet. Showing English version.

Swaps

TRUE Swap: Solana-native cross-chain execution with route plans, slippage protection, and points.

What this is

TRUE Swap is the cross-chain execution layer. Best route, best price, no decoys. Solana is the home chain, TRUE Swap is Solana-native and routes through Jupiter for SPL-to-SPL flow. Cross-chain swaps run through audited bridge aggregators with route preview, slippage protection, and a single signing surface.

Routing

Every quote returns a route plan: which DEXs and pools the swap will touch, the price impact at each hop, and the slippage envelope. The user signs the plan, not the individual hops.

{
  "in":  { "asset": "USDC", "amount": 1000 },
  "out": { "asset": "SOL",  "amount_min": 5.31 },
  "route": [
    { "venue": "raydium-clmm", "impact_bps": 3 },
    { "venue": "orca-whirlpool", "impact_bps": 2 }
  ],
  "slippage_bps": 15,
  "priority_fee_lamports": 5000,
  "expires_at": "2026-04-29T12:35:00Z"
}

A quote is valid until expires_at. After that the client must request a fresh quote, re-signing a stale quote is rejected on the executor.

On-ramp

Fiat enters through the Buy screen: card, Apple Pay or Google Pay, with the checkout and KYC run by Onramper or Crossmint and their licensed payment partners depending on your region and account, and Banxa as a fallback. TRUE never sees or stores card details. Once the purchase settles to your TRUE wallet as USDC, the rest of the flow (swap, signal, save) is identical to any wallet-funded user. Details and limits on Buy with Card.

Earning while swapping

Every $2 swapped earns 1 TRUE Point, capped at 600 points per week to keep the surface fair. Reverse-swap detection runs on the same path to prevent farming, a swap immediately reversed within the protection window does not earn points. Full ruleset on Points & Rewards.

Manual swaps require your wallet signature

Review the swap in your wallet before you sign. For the manual Solana swap flow, your wallet signature authorises the transaction. If a site presents a manual swap as complete before you signed it, verify the URL and report it.

For Users

When you swap, the route preview shows the number of venues, the per-hop impact, and the worst-case fill (the minimum out you’ll receive if every hop fills at maximum slippage). If those numbers don’t match what you signed in your wallet prompt, reject the signature. The most useful safety habit on TRUE Swap is reading the wallet prompt before clicking confirm, your wallet is the last line of defense.

For Developers

Where the quote comes from

For manual Solana spot swaps, the TRUE app requests a quote and route from Jupiter through TRUE’s API. TRUE’s API also prepares the unsigned swap transaction, including any applicable TRUE fee instructions, for the user’s wallet to review and sign. Solana protocols execute and settle the signed swap.

TRUE also provides two endpoints for confirmed swap activity:

GET https://app.truefinance.ai/api/v1/swaps/recent
GET https://app.truefinance.ai/api/v1/swaps/stream

recent is the public tape of swaps that landed. stream is the same tape as Server-Sent Events, for a live ticker without polling.

Lifecycle

  1. Quote: the app requests a Jupiter quote through TRUE’s API and shows the route, price and slippage.
  2. Prepare: TRUE’s API prepares the unsigned transaction and returns it to the app.
  3. Sign: the user reviews and authorises the transaction with their wallet.
  4. Submit: the app or wallet broadcasts the signed transaction to Solana.
  5. Confirm: the app checks on-chain confirmation, and confirmed swaps appear on the public tape.

Error codes

CodeMeaningAction
QUOTE_EXPIREDThe quote expires_at passedRequest a new quote
IMPACT_EXCEEDEDLive impact exceeded the slippage envelopeCancel or widen the envelope
INSUFFICIENT_BALANCEWallet balance below quote in.amount + feesTop up the wallet
ROUTE_UNAVAILABLENo route satisfied the constraintsLoosen max_hops or slippage_bps
ORACLE_STALETRUE Quotes returned a stale-flagged quoteSurface “price unavailable”

MEV protection

The route solver bids a priority fee tuned to the current Solana congestion percentile and avoids known sandwich-prone pools when an alternative exists. Anti-sandwich heuristics inflate slippage_bps slightly on thin pools, that’s protection, not waste.

Safety, limits, failure modes

  • High-impact route. Quotes with cumulative impact above 1% are flagged in the UI before signing. The user must explicitly acknowledge before the wallet prompt opens.
  • Reverse-swap detection. Swaps immediately reversed within the protection window do not earn points. The detection window and reset cadence are documented on Points & Rewards.
  • Slippage caps. Per-asset caps are protective, not optional. Disabling them is not exposed to users.
  • Cross-chain finality. Bridge confirmations are upstream-bound; a “submitted” status on the destination chain is not the same as a “settled” status. Wait for finality.

See also

Last updated: