> For the complete documentation index, see [llms.txt](https://docs.primestaking.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.primestaking.xyz/products/xdc-liquid-staking/staking-guide/request-withdrawal.md).

# Request Withdrawal (walkthrough)

V3 withdrawals are self-service: there is no admin approval step and no fixed queue time. Every withdrawal goes through `redeemWithQueue`, which automatically picks the fastest path your balance and the vault's liquidity allow.

{% hint style="info" %}
For the full breakdown of how the instant vs queued paths choose themselves, see [Withdrawals: Instant vs Queued](/products/xdc-liquid-staking/staking-guide/withdrawals-instant-vs-queued.md).
{% endhint %}

***

## Steps

1. Go to [primestaking.xyz/xdc-liquid-staking](https://primestaking.xyz/xdc-liquid-staking/overview).
2. Open the **Withdraw** section (or use the **Lite Mode** withdraw tab).
3. Enter the amount of **psXDC shares** you want to redeem. The app shows you, in real time:
   * The XDC you will receive based on the current exchange rate.
   * Whether the withdrawal will settle **instantly** or **enter the queue**, based on the vault's liquid buffer.
4. Click **Withdraw** and confirm the transaction. Under the hood the app calls `redeemWithQueue(shares, receiver)`.

***

## What happens next

### If the vault has enough buffer liquidity

The redemption settles in the **same transaction**. You receive XDC immediately. No queue entry is created, nothing else for you to do.

### If buffer liquidity is constrained

Your psXDC shares are escrowed inside the vault and a request is added to the FIFO queue. The withdrawal **does not have a fixed time** — it is settled as soon as enough liquidity returns from:

* New user deposits,
* Validator reward inflows, or
* Masternode resignation principal returning to the vault after the XDC Network's `candidateWithdrawDelay` (\~35 days under normal block times).

You can monitor the queue at any time from the **My Positions** page. When your request is processed, your XDC lands either directly in your wallet or in the vault's `pendingQueuedAssets` bucket. If it lands in `pendingQueuedAssets` (because the original payout failed for any reason), you collect it by calling `claimQueuedAssets`. The app exposes this as a **Claim** button on the queued withdrawal entry.

You can also cancel a queued request before it settles. The vault returns the escrowed psXDC shares to your wallet — no XDC moves.

***

## Why a queue exists at all

The vault keeps most of the XDC working in masternodes earning yield, and only holds a small percentage (the **buffer**, default 5%) liquid for instant redemptions. When demand to withdraw exceeds the buffer, the queue ensures that everyone is served fairly in FIFO order without forcing the protocol to disrupt active validators.

The queue is preferred over the previous "request and wait for admin approval" model because:

* No admin signature is needed at any point.
* You can cancel at any time and get your shares back.
* Settlement is automatic — anyone can call `processWithdrawalQueue` to push the queue forward.

→ [Withdrawals: Instant vs Queued](/products/xdc-liquid-staking/staking-guide/withdrawals-instant-vs-queued.md) → [Smart Contract Reference](/products/xdc-liquid-staking/smart-contract-functions.md)

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


---

# 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.primestaking.xyz/products/xdc-liquid-staking/staking-guide/request-withdrawal.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.
