bitcoin tx to and from

Returns transactions on Bitcoin, where input address is bc1pnj…4dhg, output address is bc1pnj…4dhg and date since 2023-05-03: date date, fee value, hash, input value and output value.

By Divyasshree N · saved 8 June 2023 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  bitcoin(network: bitcoin) {
    to: transactions(
      date: {since: "2023-05-03T00:00:00", till: "2023-06-13T00:01:00"}
      inputAddress: {is: "bc1pnjh7tlsqmelthjknytac5aeqgg37c28u2ytllvtjg5rwqjv6zlsqmk4dhg"}
    ) {
      date {
        date
      }
      feeValue
      hash
      inputValue
      outputValue
    }
    from: transactions(
      date: {since: "2023-05-03T00:00:00", till: "2023-06-13T00:01:00"}
      outputAddress: {is: "bc1pnjh7tlsqmelthjknytac5aeqgg37c28u2ytllvtjg5rwqjv6zlsqmk4dhg"}
    ) {
      date {
        date
      }
      feeValue
      hash
      inputValue
      outputValue
    }
  }
}

Similar queries