elrond data

Returns 10 transfers on elrond, where date since 2023-04-18 and date till 2023-04-25, sorted by count in count out, highest first: amount, count big int, currency address, currency symbol, decimals, currency name, token ID and token type.

By Oluwatomisin · saved 25 April 2023 · 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
        decimals
        name
        tokenId
        tokenType
      }
    }
  }
}

Variables

{
 "limit": 10,
  "offset": 0,
  "address": "erd1uampleqer7jn9a9ysd63xpt8427zetrse4vrf3w4s8hskv2kd45qs94tx7",
  "network": "elrond",
  "from": "2023-04-18",
  "till": "2023-04-25T23:59:59",
  "dateFormat": "%Y-%m-%d" 
}

Similar queries