
Uniswap V3 · Reads onchain state
Reads the current liquidity units of a Uniswap V3 position. The position manager returns the liquidity word inside its positions entry, the raw unit a decrease burns in. Reach for it to size a full or fractional decrease, or to require a position still has liquidity before a collect.
On other protocols · 1