# Swap

<figure><img src="/files/6D8au5epy8GLijSvavUD" alt=""><figcaption></figcaption></figure>

Utiliza la funcionalidad de swap cuando quieras intercambiar un token por cualquier otro. El propio sistema buscará la ruta (combinación de mercados) más eficiente para llegar al token que quieres.

¡Ves con cuidado al realizar un swap! Las operaciones se ejecutan a mercado, esto es, realizando las operaciones según el order book. Si el mercado tiene poca liquidez… puedes pagar un premium relevante por tu swap.

> El order book es la lista de tokens con oferta de venta y de compra existentes. Cuando se realiza una operación a mercado, el motor de swap busca la orden más inmediata existente para realizar la operación.
>
> ![](/files/eOurHsYv7jKTRGaIeWb6)

[Aquí tienes una guía sobre cómo realizar swaps](https://dogstar.gitbook.io/dogstar-coin/guides/swap)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alphanodes.io/guias/dogstar-league/como-jugar/swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
