Top Receivers in tokens

Returns one transfer on Ethereum, where transfer sender is 0xcf52…00e1, currency smart contract is 0xcf52…00e1 and block date since 2023-07-25, sorted by transfer amount, highest first: chain ID, block date, count, receiver, transfer amount, amount in USD, currency symbol and 3 more fields.

By Nadia · saved 18 February 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String!, $from: String, $till: String) {
  EVM(dataset: archive, network: $network) {
    Transfers(
      where: {Block: {Date: {since: $from, till: $till}}, Transfer: {Sender: {is: $address}, Currency: {Native: false}, Success: true}}
      limit: {count: $limit}
      orderBy: {descending: Transfer_Amount}
    ) {
      ChainId
      Block {
        Date(maximum: Block_Time)
      }
      count
      Transfer {
        Receiver
        Amount
        AmountInUSD
        Currency {
          Symbol
          SmartContract
        }
      }
      Transaction {
        Hash
      }
    }
    token_info: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
      limit: {count: 1}
    ) {
      Transfer {
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "eth",
  "address": "0xcf523864704a502d36e8e24cd73a2aee6cda00e1",
  "from": "2023-07-25",
  "till": "2023-07-25"
}

Similar queries