Tezos Address Details

Returns 10 transfers on tezos, where date since 2023-10-11, date till 2023-10-18 and amount is above 0, sorted by count in count out, highest first: amount, count, currency address, currency symbol and token type.

By Nikhil · saved 18 October 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: TezosNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int!, $offset: Int!) {
  tezos(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_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": "tezos",
  "address": "tz1NEKxGEHsFufk87CVZcrqWu8o22qh46GK6",
  "from": "2023-10-11",
  "till": "2023-10-18T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries