btc_not_change_tx

Returns transactions on Bitcoin, where input address is bc1qwg…ntec, output address is not bc1qwg…ntec and date since 2024-07-17, sorted by block timestamp iso8601, highest first: block height, iso8601, fee value, fee value decimal, hash, index, input count and 9 more fields.

By George · saved 24 July 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    transactions(
      options: {desc: "block.timestamp.iso8601"}
      date: {since: $from, till: $till}
      inputAddress: {is: $address}
      outputAddress: {not: $address}
    ) {
      block {
        height
        timestamp {
          iso8601
        }
      }
      feeValue(in: USD)
      feeValueDecimal
      hash
      index
      inputCount
      inputCountBigInt
      inputValue
      inputValueDecimal
      minedValue
      minedValueDecimal
      outputCount
      outputCountBigInt
      outputValue
      outputValueDecimal
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "bc1qwguz655k283hf808n9m5hydwcgsdc8gkfjntec",
  "network": "bitcoin",
  "from": "2024-07-17",
  "till": "2024-07-24T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries