Query Graphql

Returns money flows on Ethereum, where initial address is 0x6c32…4d1b, date since 2000-11-01 and date till 2023-11-20, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.

By Aleksey · saved 22 November 2023 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, 
  $address: String!, $inboundDepth: Int!, 
   $limit: Int!,
   $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      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
    }
   
  }
}

Variables

{
  "inboundDepth": 6,
  "outboundDepth": 1,
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x6c32dc8c6bfc5b269c7d9c6832bc590387784d1b",
  "currency": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "from": "2000-11-01",
  "till": "2023-11-20T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries