bitcoin in and out

Returns money flows on Bitcoin, where receiver is bc1pnj…4dhg and sender is bc1pnj…4dhg: amount, transaction hash, transactions height, transactions amount and timestamp.

By Divyasshree N · saved 8 June 2023 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  bitcoin(network: bitcoin) {
    in: coinpath(
      receiver: {is: "bc1pnjh7tlsqmelthjknytac5aeqgg37c28u2ytllvtjg5rwqjv6zlsqmk4dhg"}
    ) {
      amount
      transaction {
        hash
      }
      transactions {
        height
        amount
        timestamp
      }
    }
    out: coinpath(
      sender: {is: "bc1pnjh7tlsqmelthjknytac5aeqgg37c28u2ytllvtjg5rwqjv6zlsqmk4dhg"}
    ) {
      amount
      transaction {
        hash
      }
      transactions {
        height
        amount
        timestamp
      }
    }
  }
}

Similar queries