> For the complete documentation index, see [llms.txt](https://abrafi.gitbook.io/abrafi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abrafi.gitbook.io/abrafi-docs/guides/how-to-stake-unstake.md).

# How to stake/unstake

#### How staking works on AbraFi

Depositing an AbraFi token into a yield strategy and receiving a **liquid receipt token** in return. The receipt token appreciates in value over time as yield accrues (price appreciation model). Because it is liquid, it can be used elsewhere in DeFi — for example, posted as collateral on AAVE or supplied to lending protocols. Example: staking USDAF returns sUSDAF.

#### How unstaking works on AbraFi

Redeeming a receipt token to recover the underlying position. Unstaking initiates a **cooldown period** before funds become claimable. During cooldown, the position stops earning yield.

#### Step-by-step guide to staking

{% stepper %}
{% step %}

### Swap for eligible staking asset

Use the dApp swap interface to buy an asset that can be staked (USDaf, SOLaf) and go to the yield strategy page you wich to stake on.&#x20;
{% endstep %}

{% step %}

### Initiate Staking

Enter the amount of the asset you wish to stake and sign the transaction
{% endstep %}

{% step %}

### Receive a liquid token receipt

You will receive a liquid receipt token at a 1:1 conversion. The liquid receipt token will apprecaite in value over time based on the performance of the yield strategy.&#x20;
{% endstep %}
{% endstepper %}

#### Step-by-step guide to unstaking

{% stepper %}
{% step %}

### View stake positions

Within the [app dashboard](https://app.abrafi.fi/), you can see staked positions. To unstake principal, click `Unstake` and enter the amount you wish to remove.&#x20;
{% endstep %}

{% step %}

### Start the unstaking process

Sign the transaction to initiate the withdraw process. There is a cooldown period that begins and a timer will appear in your dashboard indicating when the assets can be withdrawn from the pool.
{% endstep %}

{% step %}

### Complete withdrawal from the pool

When the assets are eligible for withdrawal from the pool, click `Withdraw` and sign the transaction to return the assets to your wallet.&#x20;
{% endstep %}
{% endstepper %}


---

# 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://abrafi.gitbook.io/abrafi-docs/guides/how-to-stake-unstake.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.
