# How to Deposit/Withdraw?

The use of the trading vaults is simple and intuitive; here is the process to deposit and withdraw your money

{% embed url="<https://youtu.be/8jvzFebZ6lk>" %}

## A. Make a deposit

Deposits must be in one of the two cryptos of the peer.

{% hint style="info" %}
If you add "quote" tokens while the bot is open, the tokens will be directly converted to "Base". This could affect the performance of your first trade. To reduce the risk on your first trade, we recommend adding capital when the position is "closed", so in Quote.

*Example on the ETH-USDC bot. If the bot is currently in ETH and you add USDC, it will be immediately converted to ETH.*

*Conversely, if the bot is in USDC and you add ETH, they will be immediately converted into USDC.*\
\
*nb : Base/Quote - ETH/USDC.*   \
*ETH = base. BUSD = quote.*&#x20;
{% endhint %}

1. To add capital, you first need to **approve** the smart contract.&#x20;

   <figure><img src="https://1457326709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSrZZnTBwggGFL53u66H%2Fuploads%2FgRVxgqMf7Xn0srNKArkF%2Fimage.png?alt=media&#x26;token=d529905e-c58b-45e5-856e-6ff9e4e0c7fb" alt=""><figcaption></figcaption></figure>

2\. Then **valdiate** the transaction in your wallet

![](https://1457326709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSrZZnTBwggGFL53u66H%2Fuploads%2FMHVkbG24etaZmswZqOUe%2Fapprove.PNG?alt=media\&token=bca91fd1-91f0-4d5f-ab5d-04408c034675)

3\. You will now be able to **deposit tokens** by typing the amount or by using the slide-bar. Then click on "Deposit" and validate the transaction in your wallet.

<figure><img src="https://1457326709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSrZZnTBwggGFL53u66H%2Fuploads%2Fh4AZp8f5UIKEhOHp4dQC%2Fimage.png?alt=media&#x26;token=1d799824-5844-4a7f-93a6-6123cb62a411" alt=""><figcaption></figcaption></figure>

## B. Make a withdraw

<figure><img src="https://1457326709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSrZZnTBwggGFL53u66H%2Fuploads%2FpfYMn2DVvt1bYk5Sh5HS%2Fimage.png?alt=media&#x26;token=43b1f22d-5548-42fb-99b9-9b71de95ce45" alt=""><figcaption></figcaption></figure>

When you deposit your funds on one of the SuperBots vaults, your share in the vault is calculated according to the amount deposited and you receive **xMBXN**. The number of **xMBXT** in your possession is visible just above the withdraw tab.

So that there is no confusion, we have also added the **USDC** value of your **xMBXN**, which will be returned to your wallet in case of withdrawal.

To withdraw, **put the amount of xMBXN you wish or use the slider to choose the percentage**.&#x20;

Then just click on Withdraw and approve the transaction, that's it!


---

# 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://upbots.gitbook.io/superbots/products/vaults/how-to-deposit-withdraw.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.
