/recentPriceFromPool

This is an endpoint with narrow functionality, used mostly by pricing oracles and similar systems.

Given a liquidity pool address and a token address, it returns a recently-calculated 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!