# Wallet and Funds

<figure><img src="/files/t1NhIZoDZNalgOXbTswB" alt=""><figcaption><p>Smart Account</p></figcaption></figure>

All trading on Premarket happens through a smart account. Your funds flow from your personal wallet into the smart account for trading, and back out to your personal wallet when you withdraw.

## How the Wallet Structure Works

| Layer          | Role                                                                                                                                          |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Primary Wallet | Your personal wallet (e.g. MetaMask for MegaETH, Phantom for Solana). Fully controlled by you. Used to deposit funds and receive withdrawals. |
| Smart Account  | Your trading wallet on Premarket. All trades, positions, and settlements happen here.                                                         |
| Subkey         | A delegated key used by the system to enable gas abstraction and transaction batching. You do not interact with this directly.                |

## How Funds Flow

```
Deposit:    Primary Wallet > Smart Account > Trade
Settlement: Position > Settled > Funds credited to Smart Account
Withdrawal: Smart Account > Primary Wallet
```

## Networks and Currencies

| Network | Currency | Markets                        |
| ------- | -------- | ------------------------------ |
| MegaETH | USDM     | Pre IPO, Pre TGE, Options, RWA |
| Solana  | USDC     | Prediction Markets, Yield Farm |

You hold balances on both chains in the same smart account. Make sure you are depositing on the chain that matches the market you intend to trade.

## How to Deposit

1. Go to the Wallet page.
2. Select the token you want to deposit.
3. Enter the amount.
4. Click Approve if this is your first deposit of that token.
5. Click Deposit and confirm in your wallet.

## How to Withdraw

1. Go to the Wallet page and find the Withdraw section.
2. Select the token and enter the amount. You can only withdraw funds not locked in active positions.
3. Click Withdraw and confirm the transaction.

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

* Withdraw button disabled: your available balance is zero or all of your funds are locked in active positions.
* Funds not visible: you may have an open position that has not yet settled.
* Cannot withdraw full balance: part of your funds is locked in active positions.
  {% 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/wallet-and-funds.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.
