You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a given earner, return the rewards earned for each "snapshot", for each token where the amount for each snapshot entry is the amount earned since the last applicable snapshot, rather than the cumulative earned.
// GET /earners/{earnerAddress}/historical-rewards{"rewards": [{"token": string,"amounts": [{"amount": string(bigint),"snapshot": string]]}
Similarly, provide a route that can filter for a specific token
// GET /earners/{earnerAddress}/tokens/{tokenAddress}/historical-rewards{"rewards": [{"token": string,"amounts": [{"amount": string(bigint),"snapshot": string]]}
The text was updated successfully, but these errors were encountered:
For a given earner, return the rewards earned for each "snapshot", for each token where the amount for each snapshot entry is the amount earned since the last applicable snapshot, rather than the cumulative earned.
Similarly, provide a route that can filter for a specific token
The text was updated successfully, but these errors were encountered: