> ## Documentation Index
> Fetch the complete documentation index at: https://digraphsas-docs-mcp-delta-orders.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Crypto swaps with Velora

> A crypto swap exchanges one token for another. Velora maps swaps to gasless Delta intents or atomic Market routing.

A **swap** exchanges one token for another. In DeFi, the transfer itself is the easy part. The work is in finding liquidity, quoting a fair output, limiting slippage, and settling the trade without exposing the user to unnecessary execution risk.

Velora gives this primitive two execution paths: Delta for gasless intent swaps, and Market for atomic transaction swaps. If you do not want to choose upfront, Velora can evaluate both and return the best available path.

## What problem swaps solve

A wallet usually holds one asset, while the user or app needs another. A swap turns that intent into execution. It starts with price discovery (how much destination token should the user receive?) and liquidity access (which venues can fill the trade?), then applies the constraints the user set: slippage tolerance, recipient, chain, and timing. Settlement delivers the destination token or fails safely according to the selected path.

For small trades, this often looks simple. For large trades, thin pairs, volatile markets, or crosschain routes, the execution path matters as much as the headline quote.

## Key terms

* **Quote:** an estimate of the output amount for a requested trade.
* **Route:** the liquidity path used to reach that output.
* **Slippage:** the maximum price movement the user accepts before execution should fail or be rejected.
* **Price impact:** the trade's expected effect on the market price because of available liquidity depth.
* **Intent:** an off-chain signed instruction describing the outcome the user wants, not the exact transaction path.
* **Settlement:** the final on-chain state change that delivers the destination token.
* **Revert protection:** a failed trade costs the user nothing. A Delta order that can't settle simply expires or is rejected; on Market the user pays gas even when the swap reverts.

## Build it

Start with the [Quickstart](/overview/quickstart) to get a first quote with cURL, the SDK, or the Widget. Then pick the execution path:

<CardGroup cols={3}>
  <Card title="Delta" icon="bolt" href="/delta/overview">
    Gasless, MEV-protected intent swaps filled by competing solvers.
  </Card>

  <Card title="Market API" icon="route" href="/market/overview">
    Atomic on-chain transactions that compose with other contract calls.
  </Card>

  <Card title="Trading modes" icon="shuffle" href="/integrate/trading-modes">
    Let Velora choose between Delta and Market server-side with `mode=ALL`.
  </Card>
</CardGroup>
