coinpath

Returns money flows on Ethereum, where initial address is 0x5D13…Cce9, final address is 0xc0fE…1e99 and currency is ETH, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.

By Lochana Perera · saved 26 October 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $outboundDepth: Int!, $limit: Int!, $currency: String!) {
  ethereum(network: $network) {
    outbound: coinpath(
      initialAddress: {is: "0x5D13e21fb44429FD6a44eAD87179E90d38F7Cce9"}
      finalAddress: {is: "0xc0fEB53F75cdd3Bc87AF7c1AEc6882eD492c1e99"}
      currency: {is: $currency}
      depth: {lteq: $outboundDepth}
      options: {direction: outbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount(in: USD)
      currency {
        symbol
        name
      }
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 3,
  "outboundDepth": 3,
  "limit": 100,
  "offset": 0,
  "network": "ethereum",
  "currency": "ETH",
  "dateFormat": "%Y-%m"
}

Similar queries