> For the complete documentation index, see [llms.txt](https://docs.blackhole.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blackhole.xyz/protocol-design/liquidity-pools/rebalancer.md).

# Rebalancer

LP providers can use 1-click Rebalance and Unstake & Withdraw to facilitate LP operations.

To enable this, go to your Portfolio page and approve rebalance and approve unstake & withdraw:

<figure><img src="/files/K3ZGwtjmAkcBdkbrXCjA" alt=""><figcaption></figcaption></figure>

After approvals the buttons "REBALANCE" and "UNSTAKE & WITHDRAW" appear:

<figure><img src="/files/8lgW1uBsoP6Clp7MOAyn" alt=""><figcaption></figcaption></figure>

When your LP position moves out of range and you need to rebalance quickly, simply click the Rebalance button. Be sure to adjust the slippage settings if necessary.

Review the Rebalance pop-up to confirm the swap settings and the new range:

<figure><img src="/files/2gsyipTS9lwrDG55TPHc" alt=""><figcaption></figcaption></figure>

Click on Confirm to execute the rebalance.&#x20;

In addition to the simplified rebalancing feature, you can also easily unstake and withdraw with one click:&#x20;

<figure><img src="/files/7C8QJ5rIP9CVMaEYjzmZ" alt=""><figcaption></figcaption></figure>

A popup window will confirm the amount of any BLACK rewards that will be claimed in addition to the unstake and withdraw amounts:

<figure><img src="/files/8ag4Q1lgDYUlO1ldf0jp" alt=""><figcaption></figcaption></figure>

Click on Confirm to execute.


---

# 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.blackhole.xyz/protocol-design/liquidity-pools/rebalancer.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.
