fetch_pol_history
Documentation for eth_defi.core3.api.fetch_pol_history function.
- fetch_pol_history(session, slug, timeout=60.0)
Fetch all-time PoL history chart from
/v1/{slug}/pol/history/chart.Returns a list of
{score, timestamp}points, unwrapped from{"points": [...]}. Used for initial backfill.- Parameters
session (eth_defi.core3.session.Core3Session) – Core3 API session.
slug (str) – Project slug.
timeout (float) – HTTP request timeout in seconds.
- Returns
List of point dicts with
scoreandtimestampkeys.- Return type