TypeScript shape
Address!
required
Pair contract address.
NetworkId!
required
Network ID.
TokenOfInterest
Which token (token0 or token1) for price. See TokenOfInterest.
Int
Optional timestamp for historical stats.
[DetailedPairStatsDuration!]
Time windows to return. See DetailedPairStatsDuration.
Int
Number of buckets per window.
TokenPairStatisticsType
FILTERED or UNFILTERED. See TokenPairStatisticsType.