Using Price Feeds
Get all supported price feeds and their addresses
Sample result:
Get latest result and update time
Sample result for "Flow/USD" price feed:
Note that:
The data is updated whichever condition is met first:
Deviation is beyond certain threshold (by default 0.5%)
A fixed window of time has passed (by default 2000 blocks)
Users of the PublicPriceOracle need to check the latest update time and handle the extreme condition if this data is too old.
DEX-based TWAP Price Oracle
Last updated