Token Senders Stats

Returns 10 transfers on BNB Chain, where currency smart contract is 0x758f…255b, transfer sender is not 0x and block date since 2024-09-10, sorted by count, highest first: block date, chain ID, count, unique of transfer receiver, sum of transfer amount, transfer amount, sender and 3 more fields.

By lukas · saved 17 September 2024 · Bitquery API v2

What it returns

Filters

The query

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

Variables

{
  "network": "bsc",
  "limit": 10,
  "from": "2024-09-10",
  "till": "2024-09-17",
  "address": "0x758fb037a375f17c7e195cc634d77da4f554255b",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2024-09-13"
}

Similar queries