testing coinpath

Returns money flows on Solana, where initial address is aGhLX8…oFbv, date after 2025-01-01 and date before 2025-02-01, sorted by block height: sender address, annotation, receiver address, amount, currency symbol, currency name, currency address and 8 more fields.

By Divyasshree · saved 23 July 2025 · Bitquery API v1

What it returns

Filters

The query

query($currencies: [String!]){
  solana(network: solana) {
    outbound: coinpath(
      initialAddress: {is: "aGhLX8kiZ2sWbcdpqwbGMHL1PLBY8Xe3srCFv8aoFbv"}
      depth: {lteq: 2}
      currency:{in:$currencies}
      options: {direction: outbound, asc: "block.height", limitBy: {each: "depth", limit: 10}}
      date: {after: "2025-01-01", before: "2025-02-01"}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      currency {
        symbol
        name
        address
        decimals
        tokenId
        tokenType
      }
      depth
      count
      signature {
        value
        hash
      }
      block {
        height
      }
    }
    inbound: coinpath(
      initialAddress: {is: "aGhLX8kiZ2sWbcdpqwbGMHL1PLBY8Xe3srCFv8aoFbv"}
      depth: {lteq: 2}
       currency:{in:$currencies}
      date: {after: "2025-01-01", before: "2025-01-11"}
      options: {direction: inbound, limitBy: {each: "depth", limit: 10}, asc: "block.height"}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
       block {
        height
      }
      amount
      currency {
        symbol
        name
        address
        decimals
        tokenId
        tokenType
      }
      depth
      count
      signature {
        value
        hash
      }
      block {
        height
      }
    }
  }
}

Variables

{"currencies": [
    "-",
    "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
    "9TWQpXYj2Jg5DJDfKNpw6sxf3RqYigkV29EH29Xgpump"
  ],}

Similar queries