# Leverage in Bucket

Bucket supports two ways to build a leveraged long on supported assets:

* **One-click Leverage** (currently for **SUI/LST** and Wrapped **BTC**)
* **Manual looping** (all other supported collaterals)

Both paths keep you inside a single CDP with fixed-rate borrowing. Every action shows an **after-action simulation**.

***

### One-click Leverage

### Step-by-step

1. Select your **deposit asset**.
2. Select the **target asset**.
3. **Enter** the deposit amount.
4. **Set** your target leverage (> 1.1×).
5. **Review** the preview and costs, then **Confirm** to execute (one transaction).

<figure><img src="/files/SxJr4tScyXHDZpm1paoq" alt="" width="375"><figcaption></figcaption></figure>

### Preview & safety

* Before confirming, you’ll see a simulation of the position at **Detail.**
* A simple **target-leverage health bar** helps you gauge risk.

<figure><img src="/files/5EeESMQo7qL5zIl5A7Eu" alt="" width="375"><figcaption></figcaption></figure>

**Routing & slippage**

* Swaps are routed via the **Cetus aggregator**.
* You can set **slippage tolerance** (default **0.5%**).

<figure><img src="/files/U5MFpPhYZPiFISeMez0p" alt="" width="375"><figcaption></figcaption></figure>

**Costs shown in the panel**

* **Flash-loan fee**
* **Price impact** (swap-side estimate)

<figure><img src="/files/Z6InhlRRjBgYOUPawNx6" alt="" width="267"><figcaption></figcaption></figure>

### How it works

The Leverage feature allows users to amplify their exposure to supported assets by using USDB flash minting to automatically create a leveraged position in one click.Leverage Process (Example with SUI):A user starts with 100 USDC and targets approximately 3x SUI exposure.

1. User deposits 100 USDC
2. Flash-mints USDB worth 200 USDC
3. Swaps the user’s 100 USDC + flash-minted USDB for 300 USDC worth of SUI
4. Uses 300 USDC worth of SUI as collateral → borrows USDB worth 200 USDC
5. Uses the borrowed USDB to repay the flash-mint
6. Leveraged position is established

Final Position:

* Collateral: 300 USDC worth of SUI
* Debt: USDB worth 200 USDC + borrow fee
* Net SUI Exposure: \~3x the initial deposit

The same process works for other supported assets (e.g., BTC or SUI LST), with adjustments based on the asset type.

***

### Manual looping (all supported collaterals)

Use manual steps when one-click isn’t available:

1. **Deposit collateral**
2. **Borrow USDB**
3. **Swap USDB → more collateral**
4. **Deposit** the new collateral
5. **Repeat** until you reach your desired risk level

***

### De-leverage & raising CR

To reduce leverage or raise your CR:

* **Repay with collateral:** use the slider to choose how much collateral to sell for USDB, preview the **USDB repaid** and **new CR**, then confirm.
* **Repay with USDB:** repay from USDB in your wallet (you can swap into USDB first).
* After repayment, **CR rises** and your liquidation price **moves lower** (safer).


---

# 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.bucketprotocol.io/user-guides/leverage-in-bucket.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.
