terra_coinpath_with_depth

Returns money flows on terra, where initial address is terra1…nenf, date since 2022-06-01 and date till 2022-06-08, sorted by amount, highest first: sender address, annotation, receiver address, amount, currency symbol, depth and count.

By Andrey · saved 8 June 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cosmos(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
      currency {
        symbol
      }
      depth
      count
    }
    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
      currency {
        symbol
      }
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 3,
  "outboundDepth": 3,
  "limit": 10,
  "offset": 0,
  "network": "terra",
  "address": "terra19f36nz49pt0a4elfkd6x7gxxfmn3apj7emnenf",
  "from": "2022-06-01",
  "till": "2022-06-08T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries