Receivers Stats

Returns 10 transfers on Ethereum, where currency smart contract is 0xc02a…6cc2, transfer receiver is not 0x and block date since 2023-08-06, sorted by count, highest first: block date, chain ID, count, unique of transfer sender, sum of transfer amount, transfer amount, receiver and currency symbol.

By Nadia · saved 7 August 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $from: String, $address: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Transfers(
      limit: {count: $limit}
      where: {Block: {Date: {since: $from, till: $till}}, Transfer: {Currency: {SmartContract: {is: $address}}, Receiver: {not: "0x"}}}
      orderBy: {descendingByField: "count"}
    ) {
      Block {
        Date(maximum: Block_Date)
      }
      ChainId
      count
      sender_count: uniq(of: Transfer_Sender)
      amount: sum(of: Transfer_Amount)
      Transfer {
        max_amount: Amount(maximum: Transfer_Amount)
        Receiver
        Currency {
          Symbol
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "from": "2023-08-06",
  "till": "2023-08-06",
  "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
}

Similar queries