Fetch the average number of days that tokens were idle before being moved on the given date. Tokens are referred to by the unique identifier (slug) of their project.

While Token Age Consumed measures the ‘idleness’ in blocks created, this graph does it in days passed since the last time said token moved.

This metric is calculated daily, so the interval should be selected accordingly.

Choosing higher intervals returns the mean over the interval. 

Run in explorer

{
  averageTokenAgeConsumedInDays(from: "2019-05-09T11:25:04.894Z", interval: "1d", slug: "ethereum", to: "2019-06-23T11:25:04.894Z") {
    tokenAge
    datetime
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{averageTokenAgeConsumedInDays(from:\"2019-05-09T11:25:04.894Z\",interval:\"1d\",slug:\"ethereum\",to:\"2019-06-23T11:25:04.894Z\"){tokenAge,datetime}}" }' \
  https://api.santiment.net/graphql
Did this answer your question?