Retrieves the historical TWAP for the specified base, quote pair - this is the global TWAP across all supported contracts.
Default results are over 1 minute intervals with a 60 minutes lookback period.
TWAP is calculated as a time weighted moving average across all contracts.
The address of the base. (example is DAI)
The address of the base. (Example is WETH)
[Optional] Payload only includes data after this date (inclusive).
The interval can not exceed 12 months (d), 30 days (h) or 24 hours (m).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Payload only includes data before this date (exclusive).
The interval can not exceed 12 months (d), 30 days (h) or 24 hours (m).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] The time interval of the timeseries in the return payload.
[Defaults] m* | minute | h | hour | d | day
[Optional] Number of historical data points used in the calculation.
[Defaults] 60 for minutely, 24 for hourly and 20 for daily
[Optional] Time format of the timestamps in the return payload.
[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable