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


---

# 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.artinals.com/artinals-protocol/trade-module/data-structures/liquidityposition.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.
