Bitcoin address transactions with since date

Returns money flows on Bitcoin, where initial address is bc1qcj…4hwp and date since 2021-06-24, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth, count, block height and iso8601.

By dubolo · saved 22 January 2025 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!) {
  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: "2021-06-24"}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      amount_usd: amount(in: USD)
      depth
      count
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: "2021-06-24"}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      amount_usd: amount(in: USD)
      depth
      count
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

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

Similar queries