Market Volume SH

Returns transfers on Ethereum and BNB Chain, where date since 2022-05-09 and date till 2022-05-16, sorted by date start of interval: amount, currency address, currency symbol and start of interval.

By tony · saved 16 May 2022 · run 15 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $token: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      date: {since: $from, till: $till}
      options: {asc: "date.startOfInterval"}
      any: [{receiver: {is: $address}}, {sender: {is: $address}}]
    ) {
      sum_in: amount(calculate: sum, receiver: {is: $address})
      sum_in_usd: amount(calculate: sum, receiver: {is: $address}, in: USD)
      sum_out: amount(calculate: sum, sender: {is: $address})
      sum_out_usd: amount(calculate: sum, sender: {is: $address}, in: USD)
      currency(currency: {is: $token}) {
        address
        symbol
      }
      date {
        startOfInterval(unit: day)
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "address": "0x9823e10a0bf6f64f59964be1a7f83090bf5728ab",
  "token": "0xe8176d414560cfe1bf82fd73b986823b89e4f545",
  "from": "2022-05-09",
  "till": "2022-05-16T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries