tron transfers count

Returns 10 transfers on Tron, where date since 2021-11-29, date till 2021-12-28 and amount is above 0, sorted by count in count out, highest first: amount, count, currency address, currency symbol, token ID and token type.

By gaurav · saved 19 May 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int!, $offset: Int!) {
  tron {
    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
        tokenId
        tokenType
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "TYR6LWjY98qnr4Jft3E1Y95pNstF3PfnGk",
  "from": "2021-11-29",
  "till": "2021-12-28T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries