example cardano transfer to self

Returns money flows on Bitcoin and Dash, where initial address is XbBz4X…pCZj, date since 2010-03-01 and date till 2022-03-23, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth, count, transaction hash and 2 more fields.

By Aleksey · saved 23 March 2022 · 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}
      depth: {lteq: $outboundDepth}
      options: { direction:  outbound, coinpathMethod: utxo, 
        seed: 1832330, 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
        valueInDecimal
        valueOutDecimal
      }
    }
  }
}

Variables

{
  "outboundDepth": 1,
  "limit": 1000,
  "offset": 0,
  "network": "dash",
  "address": "XbBz4X45raiZfFeeNKGutQPFq32bgnpCZj",
  "from": "2010-03-01",
  "till": "2022-03-23T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries