coinpath api fixed

Returns money flows on Ethereum and BNB Chain, where initial address is 0x2b9d…2167, currency is 0x9F3B…C31D or 0x55d3…7955 and date since 2025-02-01, sorted by amount, highest first: transaction hash, time time, transaction value, sender address, receiver address, amount, currency symbol and 5 more fields.

By gaurav · saved 29 August 2025 · Bitquery API v1

What it returns

Filters

The query

query CoinpathPopulate(
  $network: EthereumNetwork!,
  $addresses: [String!],
  $outboundDepth: Int,
  $inboundDepth: Int,
  $from: ISO8601DateTime,
  $till: ISO8601DateTime,
  $currency: [String!]
) {
  ethereum(network: $network) {
    outbound: coinpath(
      initialAddress: { in: $addresses }
      depth: { lteq: $outboundDepth }
      date: { since: $from, till: $till }
      options: { direction: outbound, asc: "depth", desc: "amount" }
      currency: { in: $currency }
    ) {
      transaction {
        hash
        time {
          time
        }
        value
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
      amountUSD: amount(in: USD)
      currency {
        symbol
        address
        name
        decimals
        tokenId
      }
      depth
    }
    inbound: coinpath(
      initialAddress: { in: $addresses }
      depth: { lteq: $inboundDepth }
      date: { since: $from, till: $till }
      options: { direction: inbound, asc: "depth", desc: "amount" }
      currency: { in: $currency }
    ) {
      transaction {
        hash
        time {
          time
        }
        value
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
      amountUSD: amount(in: USD)
      currency {
        symbol
        address
        name
        decimals
        tokenId
      }
      depth
    }
  }
}

Variables

{
  "network": "bsc",
  "addresses": [
    "0x2b9dfb290ad7b54a5b86da25c3a629bfc7152167"
  ],
  "currency": [
    "0x9F3BCBE48E8b754F331Dfc694A894e8E686aC31D",
    "0x55d398326f99059fF775485246999027B3197955"
  ],
  "outboundDepth": 1,
  "inboundDepth": 1,
  "from": "2025-02-01T00:00:00.000Z",
  "till": "2025-08-29T23:59:59.000Z"
}

Similar queries