Pair contract address.
Network ID.
Which token (token0 or token1) for price. See TokenOfInterest.
Optional timestamp for historical stats.
Time windows to return. See DetailedPairStatsDuration.
Number of buckets per window.
FILTERED or UNFILTERED. See TokenPairStatisticsType.