Skip to content

Instantly share code, notes, and snippets.

@buddies2705
Created October 16, 2020 16:03
Show Gist options
  • Save buddies2705/7c2b6a293d80e83c1e11ff8e92efe4b6 to your computer and use it in GitHub Desktop.
Save buddies2705/7c2b6a293d80e83c1e11ff8e92efe4b6 to your computer and use it in GitHub Desktop.
Monthly DEX trading volume for a specific Token
{
ethereum(network: ethereum) {
dexTrades(options: {asc: "date.date"},
buyOrSellCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}) {
date {
date(format: "%Y-%m")
}
amount
currency {
symbol
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment