Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 842 Bytes

getRewardsHistory.md

File metadata and controls

24 lines (15 loc) · 842 Bytes

getRewardsHistory

getRewardsHistory(params): Promise<RewardsDataPoint[]>

Retrieves the vault rewards history for a given user

Parameters

Name Type Description
params Object Parameters for the rewards history query
params.from Date A starting date for the rewards retrieval query
params.to Date An end date for the rewards retrieval query
params.vault Hex An address of the vault to retrieve rewards for

Returns

Promise<RewardsDataPoint[]>

An array of daily rewards amount data points

See

Rewards History for more information