sumLpFeesForPosition
@totemsdk/liquidity-bond / sumLpFeesForPosition
Function: sumLpFeesForPosition()
sumLpFeesForPosition(
records,positionId):bigint
Sum LP fees for a position, counting only records whose earnings are verified (or non-earnable adjustments). An unverified earnable record must never inflate an LP's entitlement.
Parameters
records
positionId
string
Returns
bigint