> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swaps.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Swaps offers flexible APIs for lightning-fast swaps, bridging, and cross-chain calls.

## Send Your First Transaction

Welcome to the Swaps documentation! Here, you’ll find an interactive API playground and detailed integration guides to help you seamlessly send your first swap, bridge, or cross-chain call transaction.

To get started, check out our:

<Card title="Swap integration guide" icon="map" href="/guides/swap" horizontal>
  Follow our guide for step-by-step walkthrough of integration recommendations.
</Card>

or test each step of the flow yourself!

<Columns cols={2}>
  <Card title="1. Check available routes" icon="route" href="/swap-api-reference/get-paths" horizontal>
    Get available paths for a given source token.
  </Card>

  <Card title="2. Request a quote" icon="quotes" href="/swap-api-reference/get-action" horizontal>
    Call the `/getAction` endpoint to return a serialized swap or cross-chain-call
    transaction.
  </Card>

  {" "}

  <Card title="3. Broadcast your tx" icon="paper-plane-top" href="/guides/swap#broadcast-on-evm" horizontal>
    Reference the broadcast methods in the Swap Guide for each VM.
  </Card>

  {" "}

  <Card title="4. Register your tx" icon="bullseye" href="/swap-api-reference/get-action" horizontal>
    For [Alt VMs](/resources/best-practices#pay-attention-to-named-vs-alt-vms),
    register your transaction to trigger indexing.
  </Card>

  {" "}

  <Card title="5. Track your tx's status" icon="magnifying-glass-arrows-rotate" href="/swap-api-reference/get-status" horizontal>
    Leverage the status endpoint or webhooks to track end-to-end execution.
  </Card>

  {" "}

  <Card title="6. Maintain historical tx data" icon="database" href="/swap-api-reference/get-transactions" horizontal>
    Return all transactions for your org.
  </Card>
</Columns>

## Integrate Prediction Markets

Swaps enables users to seamlessly trade on prediction markets directly from their wallet using any token on any chain.

Try out our reference application to see how we've abstracted prediction market trading to a single swap!

<Card title="Reference Application" icon="bars-staggered" href="https://box-monorepo-example-app.vercel.app/testApiPolymarket" horizontal>
  Check out the discovery path and network requests to quickly add prediction markets to your app.
</Card>
