Bitcoin cash Address Stats

Returns inputs and outputs on Bitcoin and bitcash, where input address is qr9s7k…r8zs, output address is qr9s7k…r8zs and date since 2022-09-28: count, value, minimum of date and maximum of date.

By gaurav · saved 5 October 2023 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inputs(date: {since: $from, till: $till}, inputAddress: {is: $address}) {
      count
      value
      value_usd: value(in: USD)
      min_date: minimum(of: date)
      max_date: maximum(of: date)
    }
    outputs(date: {since: $from, till: $till}, outputAddress: {is: $address}) {
      count
      value
      value_usd: value(in: USD)
      min_date: minimum(of: date)
      max_date: maximum(of: date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcash",
  "address": "qr9s7k2axxm44z58jj3wd5cxae7yzzz70umewcr8zs",
  "from": "2022-09-28",
  "till": "2023-10-05T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries