Query to Tezos value results in error

Returns transactions and transfers on tezos, where sender is tz1RRi…WNSq and receiver is tz1RRi…WNSq: count, minimum of date, maximum of date and maximum of block.

By Aleksey · saved 6 February 2023 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!) {
    tezos(network: tezos) {
  transactions(sender:{is:$address}){
    count
        first_time: minimum(of: date)
        last_time: maximum(of: date)
  }
      ins: transfers(receiver: {is: $address}) {
        count
        first_time: minimum(of: date)
        last_time: maximum(of: date)
        last_amt: maximum(of: block get: value)
        last_currency: maximum(of: block, get: currencySymbol)
      }
      outs: transfers(sender: {is: $address}) {
        count
        first_time: minimum(of: date)
        last_time: maximum(of: date)
        last_amt: maximum(of: block get: value)
        last_currency: maximum(of: block, get: currencySymbol)
      }
    }
  }

Variables

{"address": "tz1RRimWuJrU4N5SPftTBbxCxjrd8GNGWNSq", "network": "bitcoin"}

Similar queries