/priceFromPool

Given a liquidity pool address and a token address, returns the current price for the requested token (baseToken) in the pool, in terms of the other token (quoteToken) in the pool.

Language
Click Try It! to start a request and see the response here!