> For the complete documentation index, see [llms.txt](https://docs.xspswap.finance/xswap-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xspswap.finance/xswap-protocol/products/v2-dex/swap/how-to-add-remove-liquidity.md).

# How to Add/Remove Liquidity

"Liquidity" is central to how XSwap's Exchange works. You can add liquidity for any token pair by staking both through the Liquidity page.

In return for adding liquidity, you'll receive trading fees for that pair, and receive LP Tokens you can stake in[ XSwap Farm](https://xdc.farm) to earn XTT rewards!
