Fetch total amount of tokens for a project that were transacted on the blockchain, grouped by interval. Projects are referred to by a unique identifier (slug).

This metric includes only on-chain volume, not volume in exchanges.

Grouping by interval works by summing all transaction volume records in the interval.

Run in explorer

{
  transactionVolume(from: "2018-12-12T09:45:27.283Z", interval: "1d", slug: "dragonchain", to: "2018-12-26T09:45:27.283Z") {
    datetime
    transactionVolume
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{transactionVolume(from:\"2018-12-12T09:45:27.283Z\",interval:\"1d\",slug:\"dragonchain\",to:\"2018-12-26T09:45:27.283Z\"){datetime,transactionVolume}}" }' \
  https://api.santiment.net/graphql
Did this answer your question?