what are all transactions between two Bitcoin addresses

Returns money flows on Bitcoin, where initial address is bc1pwe…s9gn, receiver is bc1prt…6hzx and initial address is bc1prt…6hzx: count, currency name, currency symbol, sender address, receiver address and amount.

By Oluwatomisin · saved 20 April 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  bitcoin(network: bitcoin) {
    outbound1TO2: coinpath(
      initialAddress: {is: "bc1pwe747v98tj62gnkrlskxlhcr8xqkw0eftv2rngjrnfwwf68pcrps03s9gn"}
      receiver: {is: "bc1prttj9wxpfqefnwdlts2ngtac5vpt6ue4wq9y505t8xg5amc5ml8qj46hzx"}
      depth: {lteq: 1}
      options: {direction: outbound}
    ) {
      count: count
      currency {
        name
        symbol
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
    }
    outbound2TO1: coinpath(
      initialAddress: {is: "bc1prttj9wxpfqefnwdlts2ngtac5vpt6ue4wq9y505t8xg5amc5ml8qj46hzx"}
      receiver: {is: "bc1pwe747v98tj62gnkrlskxlhcr8xqkw0eftv2rngjrnfwwf68pcrps03s9gn"}
      depth: {lteq: 1}
      options: {direction: outbound}
    ) {
      count: count
      currency {
        name
        symbol
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
    }
  }
}

Similar queries