bitcoin_extended_coinpath_example

Returns money flows on Bitcoin, where initial address is bc1qzh…6je6, initial date since 2022-03-18 and initial date till 2022-03-19, sorted by amount, highest first: sender address, annotation, receivers count, senders count, sender type, first tx at time, last tx at time and 9 more fields.

By Andrey · saved 4 July 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $address: String!, $inboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {seed: 8, direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      initialDate: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        receiversCount
        sendersCount
        type
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      receiver {
        address
        annotation
        receiversCount
        sendersCount
        type
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      amount
      depth
      count
      transaction {
        hash
        valueIn
        valueOut
      }
      currency {
        symbol
      }
    }
  }
}

Variables

{
  "inboundDepth": 3,
  "outboundDepth": 3,
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "address": "bc1qzh0lj00y80m5frltducm7ss2xn5ufcruf56je6",
  "from": "2022-03-18T03:00:00",
  "till": "2022-03-19T02:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries