> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exponent.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing and Previews

> Navigate LP pricing, deposit previews, withdrawal previews, and fees

***

This section covers the math an integration needs before routing users into a tranche or valuing LP tokens. For the underlying concepts, see [LP Share Pricing](/developer-tranching/concepts#lp-share-pricing) and [Fee Structure](/developer-tranching/concepts#fee-structure).

## Pages

<CardGroup cols={2}>
  <Card title="Units and Fees" icon="scale-balanced" href="/developer-tranching/defi-integrations/pricing-units-and-fees">
    Raw token units, fixed-point `Number` values, transfer fees, and market-update fee formulas.
  </Card>

  <Card title="LP Pricing" icon="chart-line" href="/developer-tranching/defi-integrations/lp-pricing">
    Effective-NAV LP price, position NAV, and SDK helpers for Senior and Junior LP tokens.
  </Card>

  <Card title="Deposit Previews" icon="arrow-down-to-line" href="/developer-tranching/defi-integrations/deposit-previews">
    Deposit value allocation, gross LP output, deposit fee shares, net LP output, and example values.
  </Card>

  <Card title="Withdrawal Previews" icon="arrow-up-from-line" href="/developer-tranching/defi-integrations/withdrawal-previews">
    Withdrawal fee shares, asset claims, Senior self-liquidation bonus, and withdrawal example values.
  </Card>
</CardGroup>

## Integration Flow

1. Normalize inputs for display, but keep transaction amounts in raw token units.
2. Reload market state before pricing or building a transaction.
3. 3. Price LP tokens from effective NAV and the selected tranche supply.
4. 4. Apply the selected deposit or withdrawal fee in LP shares.
5. 5. Set `minLpOut`, `minAmountOut`, or `minBaseOut` according to the route.

For SDK calls that read the same fields, see [SDK Preflight](/developer-tranching/defi-integrations/sdk-preflight).
