fetch_vault_history

Documentation for eth_defi.apex.vault.fetch_vault_history function.

fetch_vault_history(session_pool, vault_id, *, operation_timeout=120.0)

Fetch all history currently recoverable for one ApeX vault.

The public endpoint exposes no pagination or completeness metadata. The returned timestamps are therefore the recoverable source range, not a claim of lifetime completeness.

Parameters
  • session_pool (eth_defi.apex.session.ApexSessionPool) – Configured bounded ApeX session pool.

  • vault_id (str) – Non-empty ApeX platform vault ID.

  • operation_timeout (float) – Monotonic operation budget shared by all HTTP attempts.

Returns

Parsed history ordered by exact naive UTC source timestamp.

Return type

tuple[eth_defi.apex.vault.ApexHistoryPoint, …]