> 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.md).

# XDC Liquid Staking

XDC Liquid Staking lets you earn staking rewards on any amount of XDC — without running a node, meeting a minimum threshold, or locking your funds permanently. PrimeStaking V3 is a fully non-custodial, ERC-4626 vault: rewards accrue directly to the share price and withdrawals are self-service.

***

## Key Facts

|                      |                                                                                                                         |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| **APY**              | \~4.5% (accrued automatically through share price growth)                                                               |
| **Minimum stake**    | None                                                                                                                    |
| **Token received**   | psXDC — ERC-4626 vault share (not a fixed 1:1 receipt)                                                                  |
| **Reward mechanism** | Share price (`totalAssets / totalShares`) grows as validator rewards accrue                                             |
| **Claiming**         | No claim button — your shares are worth more XDC over time                                                              |
| **Withdrawal**       | Self-service. **Instant** when the buffer is sufficient, otherwise **queued** with self-claim via `claimQueuedAssets`   |
| **DEX exit**         | [XSWAP](https://info.xspswap.finance/#/pools/0xc4a0b4ce176c623a281bc565bfd35eab4fd7050a) — sell psXDC for XDC at market |
| **Smart contract**   | `PrimeStakedXDC_V3` — non-upgradeable, audited                                                                          |
| **Address**          | [`0x98D916F5773Ac0482b49856f2659d6c32114C4Ba`](https://xdcscan.com/address/0x98D916F5773Ac0482b49856f2659d6c32114C4Ba)  |

***

## How It Works

### 1. Stake

Deposit XDC through the staking interface at [primestaking.xyz](https://primestaking.xyz/xdc-liquid-staking/overview). No account setup or KYC required — just connect your wallet.

The vault mints psXDC shares for you at the current exchange rate. The app previews exactly how many shares you will receive before you sign.

### 2. Receive psXDC Shares

psXDC is an ERC-4626 vault share. There is no fixed 1:1 ratio:

* At launch, **1 psXDC ≈ 1 XDC**.
* After rewards accrue, **1 psXDC > 1 XDC** (e.g. 1 psXDC redeems for 1.05 XDC once the exchange rate has grown).

You don't need to manage two balances — the share is the only thing you hold, and it carries its value with it wherever you send it.

### 3. Earn Rewards Automatically

Validator rewards flow back into the vault and become part of `totalAssets`. Because the share supply doesn't change, each share is worth more XDC.

This is the same pattern Aave aTokens, Compound cTokens, and Lido wstETH use. **There is no "Claim Rewards" button for liquid staking** — your shares simply appreciate.

### 4. Use psXDC

psXDC is a standard ERC-20 on the XDC Network. While the vault earns yield, you can:

* **Hold** to accumulate rewards passively (the share price keeps rising).
* **Trade** on DEXs (typically paired with XDC).
* **Deposit into XDC NFTs** to layer the boost slice on top of your NAV.
* **Use as collateral** in DeFi protocols that support ERC-4626 vault tokens.
* **Transfer** to any wallet — the recipient inherits the appreciating share automatically.

### 5. Withdraw

To convert back to XDC you have three options:

* **Instant redeem** — when the vault's liquid buffer holds enough XDC to cover your request, the redemption settles in the same transaction. No queue, no waiting.
* **Queued redeem** — when liquidity is constrained, your shares are escrowed and your request joins an automatic FIFO queue. As soon as new deposits or masternode payouts top up the buffer, the queue is processed and you call `claimQueuedAssets` to collect your XDC. You can also `cancelQueuedWithdrawal` at any time before settlement.
* **DEX exit** — swap psXDC for XDC on [XSWAP](https://info.xspswap.finance/#/pools/0xc4a0b4ce176c623a281bc565bfd35eab4fd7050a) for immediate liquidity (subject to pool depth and market rate).

The app calls `redeemWithQueue` for you, which automatically picks the instant path when possible and falls back to the queue when not. You always see in advance which path your transaction will take.

→ [Withdrawals: Instant vs Queued](/products/xdc-liquid-staking/staking-guide/withdrawals-instant-vs-queued.md) → [Request Withdrawal walkthrough](/products/xdc-liquid-staking/staking-guide/request-withdrawal.md)

***

## Reward Distribution

| Detail               | Explanation                                                                                                       |
| -------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **Source**           | Staking rewards generated by the protocol's XDC Network masternode operators                                      |
| **Distribution**     | Reward XDC enters the vault → `totalAssets` increases → exchange rate rises → every psXDC share is worth more XDC |
| **Claiming**         | No claim — accrual is embedded in the share price                                                                 |
| **Partial holdings** | Any amount of psXDC earns yield; nothing is forfeited if you transfer or split balances                           |

***

## Getting psXDC

Two ways to obtain psXDC:

1. **Stake XDC** — deposit through the staking interface to mint psXDC shares directly at the current exchange rate.
2. **Buy on a DEX** — purchase psXDC on a decentralized exchange. Holding psXDC from any source benefits from the appreciating share price.

***

## Migrating from V2

If you already hold the V2 psXDC token, the new vault is a separate contract and your V2 balance does not automatically appear in V3. You need to migrate through the dedicated bridge:

1. Approve [`PrimeStakedXDC_V3MigrationBridge`](/products/contract-addresses.md) to spend your V2 psXDC.
2. Call `migrate(amount, minSharesOut)` — the bridge burns V2 and mints V3 shares.
3. The migration page in the app calls this for you and lets you tune slippage (defaults to 0.5%).

→ [Migrate V2 psXDC → V3](/products/xdc-liquid-staking/staking-guide/migration.md)

***

## Technical Details

* **Smart contract-driven** — every stake, redemption, and validator action is on-chain.
* **Validator-driven rewards** — share price reflects the protocol's actual masternode performance, not an admin-set APY.
* **Non-upgradeable vault** — `PrimeStakedXDC_V3` has no proxy. The logic that holds your XDC can never be modified.

→ [V3 Architecture](/products/xdc-liquid-staking/v3-architecture.md) → [V2 vs V3 — What Changed](/products/xdc-liquid-staking/v2-vs-v3.md) → [Smart Contract Reference](/products/xdc-liquid-staking/smart-contract-functions.md)

***

## Benefits

* **No infrastructure** — the protocol runs the masternodes.
* **No minimum** — stake any amount of XDC.
* **Full liquidity** — psXDC keeps your position liquid while earning rewards.
* **Composable** — ERC-4626 makes psXDC drop-in compatible with DeFi protocols.
* **Non-custodial** — no admin mint, no admin withdraw, no third-party custodian.
* **No principal-stake slashing** — XDC's slashing penalizes downtime via temporary exclusion from block production (\~2h) and missed rewards, but never burns principal — so staked capital is never at risk from validator behavior.


---

# 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:

```
GET https://docs.primestaking.xyz/products/xdc-liquid-staking.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.
