bitcoin coinpath with bug

Returns money flows on Bitcoin, where initial address is bc1qj4…r3q2, date since 2023-10-27 and date till 2023-11-03, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth, count and any of tx hash.

By gaurav · saved 3 November 2023 · run 16 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
      any(of: tx_hash)
    }
    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": 1,
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "address": "bc1qj48266qqkdvq7n2y4d8ryf4ew0q7cppnv7r3q2",
  "from": "2023-10-27",
  "till": "2023-11-03T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries