Copy of ETHE

REGESO

Returns 10 transfers on Ethereum and BNB Chain, where date since 2021-11-02, date till 2021-12-01 and amount is above 0, sorted by count in count out, highest first: amount, count, currency address, currency symbol and token type.

By julio cesarmacias · saved 1 December 2021 · Bitquery API v1

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}
      options: {limit: $limit, offset: $offset, desc: ["count_in", "count_out"], asc: "currency.symbol"}
    ) {
      sum_in: amount(calculate: sum, receiver: {is: $address})
      sum_out: amount(calculate: sum, sender: {is: $address})
      count_in: count(receiver: {is: $address})
      count_out: count(sender: {is: $address})
      currency {
        address
        symbol
        tokenType
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0xffa8cb663ffdb62c1e0a019ee34ffa8c5ddd20c7",
  "from": "2021-11-02",
  "till": "2021-12-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries