dash_extended_coinpath_example

Returns money flows on Bitcoin and Dash, where initial address is XgFue1…dk8T, initial date since 2022-03-29 and initial date till 2022-04-05, sorted by amount, highest first: sender address, annotation, receivers count, senders count, sender type, first tx at time, last 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}
    ) {
      sender {
        address
        annotation
        receiversCount
        sendersCount
        type
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      receiver {
        address
        annotation
        receiversCount
        sendersCount
        type
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      amount
      depth
      count
      block {
        timestamp {
          time
        }
      }
      currency {
        symbol
      }
      transaction {
        hash
        valueIn
        valueOut
      }
    }
  }
}

Variables

{
  "inboundDepth": 2,
  "limit": 10,
  "offset": 0,
  "network": "dash",
  "address": "XgFue1aLSbyWcBi6XzESG4nTQbFHHYdk8T",
  "from": "2022-03-29",
  "till": "2022-04-05T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries