bitcoin stats

Returns 10 transactions on Bitcoin, where time since 2024-08-12 and time till 2024-08-12: input value.

By gaurav · saved 12 August 2024 · run 12 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    transactions(
      options: {limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      medianInUSD: inputValue(calculate: median, in: USD)
      averageInUSD: inputValue(calculate: average, in: USD)
      median: inputValue(calculate: median)
      average: inputValue(calculate: average)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "from": "2024-08-12T15:31:34.000Z",
  "till": "2024-08-12T16:16:34.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries