res

Returns money flows on Bitcoin, where initial address is 1AJbsF…rn1F, date since 2020-06-07 and date till 2023-06-20, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth, count, transaction hash and 2 more fields.

By Omkar Acharekar · saved 21 June 2023 · run 5 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
      transaction {
        hash
        valueIn
        valueOut
      }
    }
    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
      transaction {
        hash
        valueIn
        valueOut
      }
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "address": "1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F",
  "from": "2020-06-07",
  "till": "2023-06-20T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries