sender_receive

Returns transfers on Ethereum, where receiver is 0xdc7b…738f, sender is 0xdc7b…738f and currency is ETH: amount.

By Omkar_BQ · saved 14 July 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    incoming: transfers(
      date: {since: $from, till: $till}
      currency: {is: "ETH"}
      receiver: {is: $address}
    ) {
     amount(calculate : sum)
    }
    outgoing : transfers(
      date: {since: $from, till: $till}
      currency: {is: "ETH"}
      sender: {is: $address}
    ) {
     amount(calculate : sum)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xdc7b28976d6eb13082a5be7c66f9dcfe0115738f",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries