Skip to main content

Returns

getDetailedTokenStats
DetailedTokenStats
Per-window stats for the token. See DetailedTokenStats.

Arguments

tokenAddress
String!
required
Token contract address.
networkId
Int!
required
Network ID (e.g. 1, 56).
timestamp
Int
Optional timestamp for historical stats.
durations
[DetailedTokenStatsDuration]
Which time windows to return. See DetailedTokenStatsDuration.
bucketCount
Int
Number of buckets per window.
statsType
TokenPairStatisticsType
FILTERED or UNFILTERED. See TokenPairStatisticsType.

Example

Playground