Coinpath Stellar with statistics

Returns money flows on Stellar, where initial address is GCSPQ6…FPWD, date since 2023-01-04 and date till 2023-01-11, sorted by received amount, highest first: amount from, currency from symbol, currency from name, sender address, annotation, first transfer at time, last transfer at time and 16 more fields.

By ruslan · saved 14 March 2023 · run 9 times · Bitquery API v1

What it returns

Filters

The query

query ($network: StellarNetwork!, $address: String!, $inboundDepth: Int!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  stellar(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "received_amount", limitBy: {each: "depth", limit: $limit, offset: $offset}}
      date: {since: $from, till: $till}
    ) {
      sent_amount: amountFrom
      sent_currency: currencyFrom {
        symbol
        name
      }
      sender {
        address
        annotation
        firstTransferAt {
          time
        }
        lastTransferAt {
          time
        }
        sendersCount
        receiversCount
      }
      received_amount: amountTo
      received_currency: currencyTo {
        symbol
        name
      }
      receiver {
        address
        annotation
        firstTransferAt {
          time
        }
        lastTransferAt {
          time
        }
        sendersCount
        receiversCount
      }
      transaction {
        hash
        time {
          time
        }
        valueFrom
        valueTo
        index
      }
      operation_type: operation
      depth
      count
      maximum(of: time)
      minimum(of: time)
    }
  }
}

Variables

{
  "address": "GCSPQ6J3WQGSQQAHLKNTZ56L7UKJBPVWZTE2FCOWY2HYL6I4ZPN4FPWD",
  "from": "2023-01-04",
  "inboundDepth": 2,
  "limit": 10,
  "network": "stellar",
  "offset": 0,
  "till": "2023-01-11T23:59:59"
}

Similar queries