Get pool state
Get pool state

PancakeSwap Infinity · Reads onchain state

Reads the current state of a PancakeSwap Infinity pool: its price, the tick it sits in, and the fees it charges. The pool manager answers in one call with the square-root price, the current tick, the protocol fee for each swap direction packed into one word, and the LP fee. Reach for it to check whether a position is still in range before collecting or rebalancing, or to gate a later step on the pool's price.

On other protocols · 2