bitquery outbound inbound transaction

Returns money flows on Bitcoin, where initial address is bc1qcj…4hwp and date after 2024-12-24, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth and count.

By dubolo · saved 22 January 2025 · run 13 times · Bitquery API v1

What it returns

Filters

The query

query ($limit: Int!) {
  bitcoin(network: bitcoin) {
    inbound: coinpath(
      initialAddress: {is: "bc1qcj9ujyvrf94wu0902g2lnklzlyn5j5nrr44hwp"}
      depth: {lteq: 1}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {after: "2024-12-24"}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      amount_usd: amount(in: USD)
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: "bc1qcj9ujyvrf94wu0902g2lnklzlyn5j5nrr44hwp"}
      depth: {lteq: 1}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 100,
  "offset": 0,
  "network": "bitcoin",
  "address": "bc1qcj9ujyvrf94wu0902g2lnklzlyn5j5nrr44hwp",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries