AddressStats (v2)

Returns transactions and transfers on Ethereum, where transaction from is 0x94c8…ebea, transaction to is 0x94c8…ebea and transfer sender is 0x94c8…ebea: count.

By Fatine · saved 6 February 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query AddressStats($address: String!, $network: evm_network!) {
  EVM(network: $network, dataset: combined) {
    sentTxs: Transactions(where: { Transaction: { From: { is: $address } } }) {
      count
    }
    receivedTxs: Transactions(where: { Transaction: { To: { is: $address } } }) {
      count
    }
    sentTransfers: Transfers(where: { Transfer: { Sender: { is: $address } } }) {
      count
    }
    receivedTransfers: Transfers(where: { Transfer: { Receiver: { is: $address } } }) {
      count
    }
  }
}

Variables

{ "network": "eth", "address": "0x94c8249a0cf419e5dd16526fda745c38f3a0ebea" }

Similar queries