Coinpath two address relation

Returns money flows on Ethereum and BNB Chain, where initial address is 0x24e8…a0c8, sender is 0xDdfE…9094 and receiver is 0xDdfE…9094, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.

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

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $currency: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      sender: {is : "0xDdfE5F59C735977d33f36f9B8D06E6A212CB9094"}
      currency: {is: $currency}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      receiver: {is: "0xDdfE5F59C735977d33f36f9B8D06E6A212CB9094"}
      currency: {is: $currency}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 3,
  "outboundDepth": 3,
  "limit": 100,
  "offset": 0,
  "network": "bsc",
  "address": "0x24e8ae6b4a6be763af7d72afaeafd480f4daa0c8",
  "currency": "BNB",
  "from": "2022-01-01",
  "till": "2022-06-30T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries