parse_ranking_page

Documentation for eth_defi.apex.vault.parse_ranking_page function.

parse_ranking_page(payload)

Parse and validate one ranking response page.

The application envelope, total size, vault array and every retained vault record are validated before the page is returned.

Parameters

payload (object) – Decoded JSON response.

Returns

Typed page with its complete-source row count.

Return type

eth_defi.apex.vault.ApexRankingPage