Skip to main content
pairAddress
Address!
required
Pair contract address.
networkId
NetworkId!
required
Network ID.
tokenOfInterest
TokenOfInterest
Which token (token0 or token1) for price. See TokenOfInterest.
timestamp
Int
Optional timestamp for historical stats.
durations
[DetailedPairStatsDuration!]
Time windows to return. See DetailedPairStatsDuration.
bucketCount
Int
Number of buckets per window.
statsType
TokenPairStatisticsType
FILTERED or UNFILTERED. See TokenPairStatisticsType.