issue_8_csi

Returns money flows on Bitcoin and Dogecoin, where initial address is DMr3fE…Wn9D, date since 2023-07-17 and date till 2023-10-17, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth, count, currency symbol and currency name.

By Xavi · saved 18 October 2023 · run 5 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
      }
      amount(in: USD)
      depth
      count
      currency {
        symbol
        name
      }    }
    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
      }
      amount(in: USD)
      depth
      count
      currency {
        symbol
        name
      }
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 5,
  "offset": 0,
  "network": "dogecoin",
  "address": "DMr3fEiVrPWFpoCWS958zNtqgnFb7QWn9D",
  "currency": "DOGE",
  "from": "2023-07-17T00:00:00Z",
  "till": "2023-10-17T23:59:59Z",
  "dateFormat": "%Y-%m-%d",
  "sortFilter": "tradeAmount",
  "sortAsc": false,
  "tradeMinAmount": null,
  "tradeMaxAmount": null,
  "useUsdAmount": true
}

Similar queries