zcash_extended_coinpath_example

Returns money flows on Bitcoin and Zcash, where initial address is t1c1vc…oVPb, initial date since 2021-01-01 and initial date till 2021-12-31, sorted by amount, highest first: timestamp time, sender address, annotation, receivers count, senders count, sender type, first tx at time and 10 more fields.

By Andrey · saved 4 July 2022 · 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: 1, direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      initialDate: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time
        }
      }
      sender {
        address
        annotation
        receiversCount
        sendersCount
        type
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      receiver {
        address
        annotation
        receiversCount
        sendersCount
        type
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      amount
      depth
      count
      currency {
        symbol
      }
      transaction {
        hash
        valueIn
        valueOut
      }
      block {
        timestamp {
          time
        }
      }
    }
  }
}

Variables

{
  "inboundDepth": 2,
  "limit": 10,
  "offset": 0,
  "network": "zcash",
  "address": "t1c1vc5qP9QpBcNwsL8hyUB5izcNoTZoVPb",
  "from": "2021-01-01",
  "till": "2021-12-31T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries