Copy of Copy of bb

Returns transfers and smart contract events on Ethereum and BNB Chain, where currency is 0x74fa…183b, amount is above 0 and amount is not 1.5: currency symbol, amount, count, minimum of date, maximum of date, day of month, day of week and 9 more fields.

By Nitin dudeja · saved 15 October 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      currency: {is: $token}
      amount: {gt: 0, notIn: 1.5, not: 1.5, lteq: 1.5, lt: 1.5, is: 1.5, in: 1.5}
      date: {since: $from, till: $till}
    ) {
      currency {
        symbol
      }
      median: amount(calculate: median)
      average: amount(calculate: average)
      amount
      count
      days: count(uniq: dates)
      sender_count: count(uniq: senders)
      receiver_count: count(uniq: receivers)
      min_date: minimum(of: date)
      max_date: maximum(of: date)
    }
    smartContractEvents {
      block {
        timestamp {
          dayOfMonth
          dayOfWeek
          hour
          iso8601
          minute
          month
          year
          unixtime
          time(format: "")
          second
        }
        height
      }
    }
  }
}

Variables

{"limit":10,"offset":0,"network":"bsc","token":"0x74fae1f44864c9a63421c7758df7c3c8a297183b"}

Similar queries