# (3) AscendEX (Bitmax)

{% hint style="info" %}
This option **ONLY** allows users to swap **xDai** for **USDT tokens.** \
Fiat money and other currencies can't be directly exchanged for xDai.&#x20;
{% endhint %}

{% hint style="warning" %}
If you **don't** have any USDT tokens, you can either buy some with fiat money on AscendEX [here](https://bitmax.io/en/otc/bank-otc), or choose another way of getting xDai.
{% endhint %}

Access the [AscendEX ](https://ascendex.com/en/login)website.\
You can either **Log In**, in case you already have an account, or **Sign Up** for one.

![](/files/-MYMfOPKQZtGE0y3iZZE)

After signing up, you'll still need to verify yourself through one of the options given for security reasons, before being able to start buying, selling or trading anything.

![](/files/-MYMfXVcn67ZZ0XYs3rq)

Log into your account to get started.&#x20;

{% hint style="warning" %}
You either already have your USDT tokens there, or you still need to deposit them on AscendEX; if that's the case, follow the tutorial [here](https://bitmaxhelp.zendesk.com/hc/en-us/articles/360053858033-How-to-Deposit-Digital-Asset-to-AscendEX-PC-).
{% endhint %}

**Once all your USDT tokens are already on AscendEX,** you can start the process of buying xDai coins with them. First things first, let's get to the right page:

{% tabs %}
{% tab title="Simplest way" %}
{% hint style="success" %}
Easily access the buying page [via this link](https://bitmax.io/en/basic/cashtrade-spottrading/usdt/xdai).
{% endhint %}

![Preview of the linked page.](/files/-MYMgf6FfFtuBdB3BBLo)
{% endtab %}

{% tab title="Traditional way" %}
Or you can go about the (longer) traditional way:

![](/files/-MYMgIZJtPDJ-gULiMQO)

1. On the main page, open the "**TRADE"** tab.
2. Select "**Cash Trading**", then the **Standard** option.&#x20;
3. At the top left corner of the page, write "**xDai**" in the **search box**.
4. Select the "**XDAI/USDT**" option that will show in the results.
5. At the bottom of the page, you'll see the **BUY/SELL** options.
   {% endtab %}
   {% endtabs %}

Choose between a **LIMIT ORDER** or a **MARKET ORDER**.

* **Limit order:** You buy at a specific price or better.
* **Market order:** You buy immediately at the best available price on the market.

{% tabs %}
{% tab title="Limit Order" %}

1. Click on **"Limit"**.
2. Enter a **price** and **size** of your choice.
3. Press "**BUY xDAI**"&#x20;
4. Wait for the order to be filled at the price you entered.

![](/files/-MYMgxpF50NnaZo_oJcc)
{% endtab %}

{% tab title="Market Order" %}

1. Click on "**Market**"&#x20;
2. Enter a **size** of your choice.
3. Press "**BUY xDAI**"&#x20;
4. The order will be immediately filled at the best available price.

![](/files/-MYMh1IY19MiQeDt0TgP)
{% endtab %}
{% endtabs %}

{% hint style="success" %}
**Done? There you have it, your own xDai coins!**&#x20;
{% endhint %}

This process provides a direct channel to the xDai Chain, and better yet, it saves xDai users money on gas, which would usually elevate the cost of transactions.

{% hint style="info" %}
**Almost done! But not quite yet.** \
Now, you need to **WITHDRAW** your newly acquired **xDai** to your wallet.
{% endhint %}

You can check a good video tutorial on how to do that [here](https://www.youtube.com/watch?v=NfA5yMZUVTw).\
To go straight to the point, follow these next few steps:

![](/files/-MYMhHgsk3_AtQOGupKv)

**(1)** On AscendEX main page, click on "**My Asset"**.\
\&#xNAN;**(2)** Choose the "**Cash Account"** from the dropdown.\
\&#xNAN;**(3)** Click on "**Withdrawal**".

![](/files/-MYMhT8WmdNR8eYSy0mB)

**(4)** Select the **token** you want to withdraw (**xDai** in this case). \
\&#xNAN;**(5)** Fill the requested **info correctly.**\
&#x20;     **a.** Select the *Public Chain Type* (attention that **fees** differ based on chains).\
&#x20;     **b.** Paste the *Withdrawal Address* from your wallet into the blank address field.\
&#x20;     **c.** Specify the desired amount.

![](/files/-MYMhXKQ2H-fqL4xgIv2)

**(6)** Check everything and and press "**Confirm**".\
\&#xNAN;**(7)** There may be a SMS verification and Google authentication. Enter the codes and **confirm** it again.\
\&#xNAN;**(8)** After only a couple of minutes, **the xDai will be on your web3 Wallet**.

{% hint style="success" %}
**DONE! This time, for real. Purchase and withdrawal completed.**&#x20;
{% endhint %}


---

# 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.minerva.digital/miva-and-xdai-chain/how-to-get-xdai/3-ascendex-bitmax.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.
