Tikcet_982_Receive_sent_do_not_match_balance

Returns address details and transfers on Ethereum, where address is 0x690b…c990, currency is ETH and time since 2023-01-11: balance, minimum of time, maximum of time, amount, count and currency symbol.

By pablo · saved 13 January 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $from24h: ISO8601DateTime) {
  ethereum(network: $network) {
    balance: address(address: {is: $address}) {
      balance
    }
    transfers(
      time: {since: $from, till: $till}
      currency: {in: ["ETH"]}
      any: [{receiver: {is: $address}}, {sender: {is: $address}}]
    ) {
      tx_first: minimum(of: time)
      tx_last: maximum(of: time)
      sum_in: amount(calculate: sum, receiver: {is: $address})
      sum_out: amount(calculate: sum, sender: {is: $address})
      count_in: count(receiver: {is: $address})
      count_out: count(sender: {is: $address})
      currency {
        symbol
      }
    }
    transfers_24h: transfers(
      time: {since: $from24h, till: $till}
      currency: {in: ["ETH"]}
      any: [{receiver: {is: $address}}, {sender: {is: $address}}]
    ) {
      sum_in: amount(calculate: sum, receiver: {is: $address})
      sum_out: amount(calculate: sum, sender: {is: $address})
      currency {
        symbol
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x690b9a9e9aa1c9db991c7721a92d351db4fac990",
  "from": null,
  "till": null,
  "from24h": "2023-01-11T00:00:00"
}

Similar queries