fetch_ranking_page

Documentation for eth_defi.apex.vault.fetch_ranking_page function.

fetch_ranking_page(session_pool, page, *, limit=100, operation_deadline)

Fetch one zero-based ranking page.

Endpoint validation runs inside the session pool retry boundary, so an invalid HTTP-200 application envelope is retried as one request operation.

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

  • page (int) – Zero-based page number.

  • limit (int) – Positive page size.

  • operation_deadline (float) – Monotonic budget boundary shared by the full ranking operation.

Returns

Validated typed ranking page.

Return type

eth_defi.apex.vault.ApexRankingPage