Skip to main content
The MarketThree.calculateClaimableFees() static method calculates the claimable fees for a liquidity position based on fee growth indices and position parameters.

Usage

Parameters

Returns

Returns an object with:

Calculation Details

The method uses Q64.64 fixed-point math to calculate fees:
Where feeGrowthDelta is the difference between current and last recorded fee growth inside the position range.