tezos transfers in and out

Returns transfers on tezos, where receiver is tz1WW1…DXj7, sender is tz1WW1…DXj7 and date since 2023-03-29, sorted by date date: amount, currency address, decimals, currency name and date date.

By Divyasshree N · saved 5 April 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: TezosNetwork!, $dateFormat: String!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  tezos(network: $network) {
    in: transfers(
      date: {since: $from, till: $till}
      options: {asc: "date.date"}
      receiver: {is: $address}
    ) {
      amount
      currency {
        address
        decimals
        name
      }
      date{
        date(format:$dateFormat)
      }
    }
     out: transfers(
      date: {since: $from, till: $till}
      options: {asc: "date.date"}
      sender: {is: $address}
    ) {
      amount
      currency {
        address
        decimals
        name
      }
      date{
        date(format:$dateFormat)
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "tezos",
  "address": "tz1WW1xr4mdTif7jorgVr7aqY3YnnJPSDXj7",
  "from": "2023-03-29",
  "till": "2023-04-05T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries