parse_history
Documentation for eth_defi.apex.vault.parse_history function.
- parse_history(payload)
Parse, canonicalise and order one unpaginated history response.
Equivalent duplicate timestamps collapse to one point. Conflicting values at one timestamp reject the complete response so no ambiguous history is staged.
- Parameters
payload (object) – Decoded JSON response.
- Returns
Timestamp-ordered immutable history points.
- Return type