elrond querybalance

Returns 10 transfers on elrond, where date since 2017-04-29 and date till 2022-05-06, sorted by count in count out, highest first: amount, count big int, currency address and currency symbol.

By Aman · saved 6 May 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: ElrondNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $address: String!) {
  elrond(network: $network) {
    transfers(
      options: {limit: $limit, offset: $offset, desc: ["count_in", "count_out"]}
      any: [{transferReceiver: {is: $address}}, {transferSender: {is: $address}}]
      date: {since: $from, till: $till}
    ) {
      sum_in: amount(calculate: sum, transferReceiver: {is: $address})
      sum_out: amount(calculate: sum, transferSender: {is: $address})
      count_in: countBigInt(transferReceiver: {is: $address})
      count_out: countBigInt(transferSender: {is: $address})
      currency {
        address
        symbol
        
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "erd10ywg8m9k9pejgd8drkc76q95nz2xadf6zrrwntra873sga3nhwhqxxnz5x",
  "network": "elrond",
  "from": "2017-04-29",
  "till": "2022-05-06T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries