# Withdraw

### How it works

To withdraw your ZIL from Avely Finance you can switch to the Withdraw tab on the staking page of our dApp.

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

You will see a form where you can type an amount which you want to withdraw. Our dApp will automatically count an amount of ZIL which you will receive. And then you can press a withdraw button.

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

After the button is pressed you will see a pending transaction notification.

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

When a color of this notification is changed to green you can continue withdrawal process.

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

Now you can scroll a page down and there you can see your withdrawals. Now you need to wait around 30800 blocks for this withdrawal to be finished. It's around 14 days in Zilliqa mainnet and around 30 minutes in Zilliqa testnet.

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

When a progress reached 100% a claim button will be available. Now you can press it.

<figure><img src="/files/q3QPiMstOUbGjNRe50Ty" alt=""><figcaption><p>Please note that the "claim" button may be temporarily unavailable for clicks even after a task is finished because we group together multiple transactions to save on fees and make it easier to predict how many transactions we'll have. We wait for 30 blocks to gather a batch of transactions before sending them all at once in one transaction to withdraw funds.</p></figcaption></figure>

You will see a pending claim notification.

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

When notification color is changed to green your ZIL is already deposited to your wallet.

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

### Fees

When you withdraw your funds from liquid staking, there is a fee of 1 stZil that you'll need to pay to cover the costs of the transaction generated by our off-chain tool. It's important to keep in mind that this fee is subject to change and is not a source of income for us. The fee is only used to pay for expenses associated with the withdrawal.


---

# 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.avely.fi/how-it-works/withdraw.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.
