> For the complete documentation index, see [llms.txt](https://rubytrades.gitbook.io/discord/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rubytrades.gitbook.io/discord/commands/rate.md).

# /rate

Description:

Will get the best rate for a chosen exchange pair

Usage:

`/rate coin-from: coin-to:`

Example:

`/rate coin-from:doge coin-to:sol`

Output:

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

This message now tells us the swap partner with the best rate. In this case it is `ChangeNow` . It will tell us the rate `1 DOGE = 0.000712 SOL`.

It also lets us know of any trade minimum amounts. In this case there is a minimum of `~45 DOGE`

**Example with amount**:

We also support specifying an amount.

Example:

`/rate coin-from:doge coin-to:sol amount:690`

Output:

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

This again lets us know the provider. In this case it is `NanSwap` . We also get an estimate of how much SOL we will receive `~0.6 SOL` .
