money flow v3

Returns money flows on Ethereum, where initial address is 0x4e5b…972f, currency is 0xdac1…1ec7 and date since 2024-11-28, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.

By william · saved 28 November 2024 · run 3 times · 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}
      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}
      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": 4,
  "limit": 38,
  "network": "ethereum",
  "address": "0x4e5b2e1dc63f6b91cb6cd759936495434c7e972f",
  "currency": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "from": "2024-11-28",
  "till": "2024-11-28T23:59:59",
  "dateFormat": "%Y-%m-%d",
  "offset": 0
}

Similar queries