All currencies inflow and outflow

Returns transfers on Ethereum, where sender is 0xb860…5b0a, date is 2024-01-17 and date since 2024-01-17, sorted by date date: date date, currency name, currency symbol, currency address, count big int and amount.

By gaurav · saved 24 January 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $address: String!, $date: ISO8601DateTime) {
  ethereum(network: $network) {
    inflows: transfers(date: {is: $date}, amount: {gt: 0}) {
      date: date {
        date(format: $dateFormat)
      }
      currency {
        name
        symbol
        address
      }
      count: countBigInt
      amount
    }
    outflows: transfers(
      options: {asc: "date.date"}
      date: {since: $date}
      sender: {is: $address}
      amount: {gt: 0}
    ) {
      date: date {
        date(format: $dateFormat)
      }
      currency {
        name
        symbol
        address
      }
      count: countBigInt
      amount
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xb8601d23f8b75a8d0265a9880f1f0f0c71715b0a",
  "nativeCurrency": "ETH",
  "date": "2024-01-17",
  "dateFormat": "%Y-%m-%d"
}

Similar queries