Address Statistics

Returns transactions and transfers on Arbitrum, where transaction from is 0x177d…d790, transfer receiver is 0x177d…d790 and transfer sender is 0x177d…d790: sum of fee sender fee, count, chain ID, sum of transfer amount, block time and unique of block date.

By GU · saved 17 August 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(dataset: combined, network: $network) {
    fee: Transactions(where: {Transaction: {From: {is: $address}}}) {
      tx_fee: sum(of: Fee_SenderFee)
      tx_count: count
    }
    receiver: Transfers(where: {Transfer: {Receiver: {is: $address}}}) {
      count
      ChainId
      amount: sum(of: Transfer_Amount, if: {Transfer: {Currency: {Native: true}}})
      currencies: count(distinct: Transfer_Currency_SmartContract)
      Block {
        from: Time(minimum: Block_Time)
        to: Time(maximum: Block_Time)
      }
      days: uniq(of: Block_Date)
    }
    sender: Transfers(where: {Transfer: {Sender: {is: $address}}}) {
      count
      ChainId
      amount: sum(of: Transfer_Amount, if: {Transfer: {Currency: {Native: true}}})
      currencies: count(distinct: Transfer_Currency_SmartContract)
      Block {
        from: Time(minimum: Block_Time)
        to: Time(maximum: Block_Time)
      }
      days: uniq(of: Block_Date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "arbitrum",
  "address": "0x177d36dbe2271a4ddb2ad8304d82628eb921d790"
}

Similar queries