Returns
Arguments
Optional timestamp for historical stats.
durations
[DetailedTokenStatsDuration]
Number of buckets per window.
Example
{
getDetailedTokenStats(
tokenAddress: "0xdac17f958d2ee523a2206206994597c13d831ec7"
networkId: 1
durations: [hour1, day1]
) {
tokenId
tokenAddress
networkId
lastTransactionAt
statsType
stats_hour1 {
statsUsd {
volume { currentValue previousValue change }
buyVolume { currentValue previousValue change }
sellVolume { currentValue previousValue change }
}
statsNonCurrency {
transactions { currentValue previousValue change }
buyers { currentValue previousValue change }
sellers { currentValue previousValue change }
}
}
}
}
Playground