BTC Outputs within range 2

Returns 100 outputs on Bitcoin, where date since 2018-07-17, date till 2018-07-17 and output value is 0.19, sorted by block height transaction index, highest first: timestamp time, block height, transaction hash, transaction index, output address address and value.

By Cam Crews · saved 14 November 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, 
  # $ceil: Float!, $floor: Float!
) {
  bitcoin(network: $network) {
    outputs(
      options: {desc: ["block.height", "transaction.index"], limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      # outputValue: {lt: $ceil, gt: $floor}
      outputValue: {is: 0.19}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      transaction {
        hash
        index
      }
      outputAddress {
        address
      }
      value
    }
  }
}

Variables

{"limit":100,
  "offset":0,
  "network":"bitcoin",
  "from":"2018-07-17",
  "till":"2018-07-17T23:59:59",
  "dateFormat":"%Y-%m-%d", 
  "floor": 36.78, 
  "ceil": 36.82}

Similar queries