
PancakeSwap Infinity · Reads onchain state
Reads the spot price of one token in the other on a PancakeSwap Infinity pool. The pool manager's stored square-root price becomes the price of one whole base token in raw quote units, the marginal price before any fee rather than an amount a swap would receive. The liquidity active at the current tick comes back beside it. Pools of one pair disagree, so each is listed with its fee and the deepest is offered first. Reach for it to compare against an oracle and catch a stale or pushed pool, or to set a rough floor before a quote refines it.
On other protocols · 12