DIVAProtocolPolygon now returns two USD prices
Apr 29, 2022
- DIVAProtocolPolygon response format changed — The Polygon DIVAProtocol query no longer returns a single value. It now returns **two 18-decimal USD prices**: first the reference asset price, then the collateral token price. If you consume this response, you may need to update your integration to read the new format.
Breaking Changes
- DIVAProtocolPolygon responses now return two 18-decimal USD prices instead of one value.
Documentation
- Updated the Polygon docs to explain the new response order, with the reference asset price listed first and the collateral token price listed second.
- Refreshed the encoding, decoding, and JSON examples so they match the new two-price output and show the values quoted in USD.