# How to Deposit and Withdraw Funds

## Depositing Funds

<figure><img src="/files/5aLlvHPbUT8nD3WFaQ1F" alt="" width="563"><figcaption><p>Deposit section in wallet</p></figcaption></figure>

1. Click Wallet in the main navigation.
2. Choose the token you want to deposit. USDM for MegaETH markets, USDC for Solana markets.
3. Enter the amount. Make sure you are on the correct network for the product you intend to trade.
4. Click Approve if this is your first deposit of that token.
5. Click Deposit and confirm the transaction in your wallet.
6. Wait for your balance to update onchain.

## Withdrawing Funds

<figure><img src="/files/hYFfBfJgwTNwFt8IdtQR" alt="" width="563"><figcaption><p>Withdraw section in wallet</p></figcaption></figure>

1. Click Wallet in the main navigation and find the Withdraw section.
2. Select the token you want to withdraw and enter the amount.
3. You can only withdraw funds that are not locked in active positions.
4. Click Withdraw and confirm the transaction.

{% hint style="warning" %}
**Common withdrawal issues:**

* Withdraw button disabled: balance is zero or funds are locked in open positions.
* Funds not visible: wait for open positions to settle before withdrawing.
  {% 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.premarket.xyz/readme/walkthroughs/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.
