currency sent and received by an address between a time

Returns transfers on Ethereum and Avalanche, where date till 2025-12-31, sorted by currency symbol: amount, expression, count big int, currency address, currency symbol and token type.

By gaurav · saved 16 January 2026 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query($address:String!) {
  ethereum(network: avalanche) {
    transfers(
      date: { till: "2025-12-31"}
      any: [{receiver: {is: $address}},
        {sender: {is: $address}}]
      options: {
        asc: "currency.symbol"}
    ) {
      sum_in: amount(calculate: sum, receiver: {is: $address})
      sum_out: amount(calculate: sum, sender: {is: $address})
      balance:expression(get:"sum_in - sum_out")
      count_in: countBigInt(receiver: {is: $address})
      count_out: countBigInt(sender: {is: $address})
      currency {
        address
        symbol
        tokenType
      }
    }
  }
}

Variables

{

  "address": "0xA1cbEA7293c2D25C2F0A87331e8178fAeD9f03E8"
}

Similar queries