API of Metric ‘Daily Active Deposits’ | Santiment Knowledge Base

Santiment Team

Fetch Daily Active Deposits for a project, grouped by interval. Projects are referred to by a unique identifier (slug).

To find a more in-depth explanation about Daily Active Deposits, please check this article. It is part of an article set on metrics related to deposit addresses, which you can find here.

This metric is calculated daily, so the interval should represent whole days.

Grouping by interval works by taking the mean of all daily results the interval.

Run in explorer

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

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{dailyActiveDeposits(from:\"2019-05-09T11:25:04.894Z\",interval:\"1d\",slug:\"maker\",to:\"2019-06-23T11:25:04.894Z\"){activeDeposits,datetime}}" }' \
  https://api.santiment.net/graphql