> For the complete documentation index, see [llms.txt](https://docs.artinals.com/artinals-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.artinals.com/artinals-protocol/trade-module/data-structures/liquidityposition.md).

# LiquidityPosition

**LiquidityPosition** represents an individual liquidity provider’s stake in a TradingPool. When a user supplies NFTs and tokens to a pool, they receive LP tokens tracking their share.

**Key Fields**:

* `pool_id`: Links the position to a specific TradingPool.
* `lp_tokens`: The user’s balance of LP tokens.
* `nft_contributed` / `tokens_contributed`: Tracks how much the user initially deposited.
* `fees_earned`: Amount of fees this position has accrued over time.

**Role**:

* Allows users to retrieve their proportionate share of the pool’s reserves at any time.
* Incentivizes providing liquidity by entitling providers to a share of trading fees.
