stellar-explorer

This query will show you money flow for stellar

Returns money flows on Stellar, where initial address is GCSPQ6…FPWD, currency to is Lumen and currency from is Lumen, sorted by amount, highest first: sender address, annotation, receiver address, amount to, currency to symbol, currency to name, depth and 4 more fields.

By ruslan · saved 11 January 2023 · run 23 times · Bitquery API v1

What it returns

Filters

The query

query ($network: StellarNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $currency: String!) {
  stellar(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit, offset: $offset}}
      date: {since: $from, till: $till}
      currencyTo: {is: $currency}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount: amountTo
      currency: currencyTo {
        symbol
        name
      }
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit, offset: $offset}}
      date: {since: $from, till: $till}
      currencyFrom: {is: $currency}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount: amountFrom
      currency: currencyFrom {
        symbol
        name
      }
      depth
      count
    }
  }
}

Variables

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

Similar queries