getFiatRatesByDay
Description:
Get fiat data by day
Arguments:
Name | Type | Required | Description |
---|---|---|---|
dateTo | string | Yes | Start time |
dateFrom | string | Yes | End time |
Returns:
type Output = Array<{
timestamp: string
usdToEurRate: string
usdToGbpRate: string
assetsUsdRate: string
}>
Example:
await sdk.utils.getFiatRatesByDay({ dateTo, dateFrom })