VWAP Oracles
Integrate the Mute Switch LP Oracles into your dApp
All LP pair contracts update and record their VWAP based on the cumulative trade volume over the last 30 minutes. You can use this information to access onchain oracle price fees by calling the specific pair with the function calls below.
Integration
The functions are available using the pair abi, and specifying the proper LP pair you are trying to fetch prices from, e.g. MUTE/ETH.
Last updated