# /swap

Description:

The swap command is the main part of the application. It allows you to swap two coins at the best market rate.

Usage:

`/swap coin-from: coin-to: amount: address:`

Example:

`/swap coin-from: ltc coin-to: xmr amount: 1 address: 888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H`

This command will swap `1 Litecoin (LTC)` for `Monero (XMR)` and will send it to `888t...up3H`

Output:

<figure><img src="/files/vcvPkbVNPwIvRUMVtCig" alt=""><figcaption></figcaption></figure>

This now lets us know about the chosen provider `AlfaCash` . The amount we will send `1 LTC` , the amount we will receive `0.609 XMR` and finally the address that we will have to send the funds to. In this case `MK3nziY2gHSaEHk9qVraVR4L7C1HajkgX8`.&#x20;

We also get a tracking link by clicking on the `New exchange`. In this case it will take us to <https://www.alfa.cash/process/18f77c23d694ddaa4ae3157bdfa17319>&#x20;


---

# 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://rubytrades.gitbook.io/discord/commands/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.
