solana coinpath query

Returns money flows on Solana, where initial address is 9Y6dqY…iwSo, currency is EPjFWd…Dt1v and date since 2022-06-09, sorted by amount, highest first: sender address, annotation, receiver address, amount, currency symbol, currency name, depth and count.

By gaurav · saved 16 June 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: SolanaNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $currency: String!) {
  solana(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}
      currency: {is: $currency}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      currency {
        symbol
        name
      }
      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}
      currency: {is: $currency}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      currency {
        symbol
        name
      }
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 10,
  "offset": 0,
  "network": "solana",
  "address": "9Y6dqYywzBY4PGzcAuHCEmF9nRr4pMPzqUtKgC4RiwSo",
  "currency": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "from": "2022-06-09",
  "till": "2022-06-16T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries