ERC20 Token Daily Stats Verify

Returns the latest 7 transfers on Ethereum and BNB Chain, where currency is 0x2480…BA8A: year, month, day of month, date date, currency symbol, decimals, currency address and 6 more fields.

By Omkar Acharekar · saved 6 April 2023 · run 7 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}
      options: {desc: "date.date", limit: $days}
    ) {
      date {
        year
        month
        dayOfMonth
        date
      }
      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": "bsc",
  "currency": "0x24802247bD157d771b7EFFA205237D8e9269BA8A",
  "days": 7
}

Similar queries