ERC20 Token Daily Stats

Returns 7 transfers on Ethereum and Polygon, where currency is 0xa1c5…6fd4, sorted by date year date month date day of month, highest first: year, month, day of month, currency symbol, decimals, currency address, currency name and 5 more fields.

By Roberto · saved 21 February 2023 · run 65 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery($network: EthereumNetwork!, $currency: String!, $days: Int!) {
  ethereum(network: $network) {
    transfers(
      currency: {is: $currency}
      success: true
      options: {desc: ["date.year", "date.month", "date.dayOfMonth"], limit: $days}
    ) {
      date {
        year
        month
        dayOfMonth
      }
      currency {
        symbol
        decimals
        address
        name
        tokenId
        tokenType
      }
      amount(calculate: sum)
      amount_minted: amount(
        calculate: sum
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      amount_burned: amount(
        calculate: sum
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      amount_usd: amount(calculate: sum, in: USD)
      transaction_count: count
      transaction_count_mint: count(
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      transaction_count_burn: count(
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      count_uniq_receivers: count(uniq: receivers)
      count_uniq_receivers_mint: count(
        uniq: receivers
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      count_uniq_senders: count(uniq: senders)
      count_uniq_senders_burn: count(
        uniq: senders
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      gasValue(calculate: sum)
    }
  }
}

Variables

{
  "network": "matic",
  "currency": "0xa1c57f48f0deb89f569dfbe6e2b7f46d33606fd4",
  "days": 7
}

Similar queries