Copy of inbound and outbound bitcoin

inbound and outbound bitcoin

Returns money flows on Bitcoin, where initial address is 1Ln6Ky…pntS, date since 2021-01-01 and date till 2022-08-16, sorted by amount, highest first: sender address, annotation, receiver address, currency symbol, amount, depth and count.

By spendil · saved 22 August 2022 · run 8 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
      }
      currency{
        symbol
      }
      amount
      depth
      count
    }
    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
      }
      currency{
        symbol
      }
      amount
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 2,
  "outboundDepth": 1,
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "address": "1Ln6KyPBQanURRmNEJarA6AeXjcHtapntS",
  "from": "2021-01-01",
  "till": "2022-08-16T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries