ethereum eth acces

Returns 100 transfers on Ethereum, where date since 2025-01-10, date till 2025-01-17 and amount is above 0, sorted by count in count out, highest first: amount, count, currency address, currency symbol and token type.

By Tawhid · saved 17 January 2025 · Bitquery API v2

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    transfers(
      date: {since: $from, till: $till}
      amount: {gt: 0}
      any: [{receiver: {is: $address}}, {sender: {is: $address}}]
      options: {limit: $limit, offset: $offset, desc: ["count_in", "count_out"], asc: "currency.symbol"}
    ) {
      sum_in: amount(calculate: sum, receiver: {is: $address})
      sum_in_usd: amount(in: USD, calculate: sum, receiver: {is: $address})
      sum_out: amount(calculate: sum, sender: {is: $address})
      sum_out_usd: amount(in: USD, calculate: sum, sender: {is: $address})
      count_in: count(receiver: {is: $address})
      count_out: count(sender: {is: $address})
      currency {
        address
        symbol
        tokenType
      }
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 10,
  "network": "ethereum",
  "address": "0x93AD5B45417d70eD2c201F79EB033c652496cB57",
  "from": "2025-01-10",
  "till": "2025-01-17T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries