track stolen bitcoin funds

Returns money flows on Bitcoin, where initial address is bc1qd9…608m, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth and count.

By Kshitij Mahajan · saved 15 December 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
    }
  }
}

Variables

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

Similar queries