

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.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
More on PancakeSwap Infinity · 8









On other protocols · 12