> For the complete documentation index, see [llms.txt](https://docs.bbx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bbx.com/getting-started/accounts-and-wallets.md).

# Accounts & Wallets

Before using trading features on BBX, users need to log in and understand how the account system works. BBX supports multiple login methods and uses a structure where assets are managed through a funding account and transferred to different trading accounts based on the user’s trading needs.

### Login Methods

BBX currently supports the following login methods:

* Email login
* Telegram login
* On-chain wallet login

Users can choose the login method that best fits their preference. Regardless of the login method used, BBX will create the corresponding account system for each user to support deposits, withdrawals, internal transfers, and trading.

### Account System

BBX currently includes the following account types:

* Funding Account
* Perpetual Account
* Stock Account

Each account is designed for a different asset use case and trading scenario.

#### Funding Account

The Funding Account is the main account used for deposits, withdrawals, and internal asset transfers on BBX.

After a user logs in through email, Telegram, or an on-chain wallet, BBX creates a Funding Account for the user. This account is based on Cobo’s non-custodial wallet solution and is used to receive on-chain assets deposited by the user. It also serves as the unified entry point for internal asset transfers within BBX.

Assets deposited to BBX will first enter the Funding Account. After that, users can transfer assets from the Funding Account to the corresponding trading account, such as the Perpetual Account or the Stock Account, depending on their trading needs.

#### Perpetual Account

The Perpetual Account is used for on-chain perpetual trading on BBX DEX.

When users want to trade perpetual contracts, they need to transfer assets from the Funding Account to the Perpetual Account first. Assets in the Perpetual Account are used for opening positions, maintaining margin, paying trading fees, and other perpetual trading-related operations.

#### Stock Account

The Stock Account is used for stablecoin stock trading.

When users want to trade stock-based assets with stablecoins, they need to transfer assets from the Funding Account to the Stock Account first. Assets in the Stock Account are used for stablecoin stock trading-related operations.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bbx.com/getting-started/accounts-and-wallets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
