money flow path

Returns money flows on Bitcoin, where initial address is 351zF5…yzRn, receiver is 1L3RmF…oYNR and date since 2015-01-01, sorted by amount, highest first: sender address, annotation, receiver address, transaction hash, amount, depth and count.

By gaurav · saved 17 December 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

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

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 5,
  "limit": 49,
  "offset": 0,
  "network": "bitcoin",
  "address": "351zF5aeYHrzwENBgjweqyQ5xRCbfPyzRn",
  "from": "2015-01-01",
  "till": "2021-12-17T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries