Total Address Statistics

Returns 10 transfers on Arbitrum, where transfer receiver is 0x177d…d790 and transfer sender is 0x177d…d790: count, chain ID, receiver, sum of transaction gas, block date, unique of block date and sender.

By Nadia · saved 27 July 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(dataset: combined, network: $network) {
    receiver: Transfers(where: {Transfer: {Receiver: {is: $address}}}) {
      r: count
      ChainId
      Transfer {
        Receiver
      }
      r_gas_used: sum(of: Transaction_Gas)
      r_receivAmount: count(distinct: Transfer_Amount)
      r_transaction_to: count(distinct: Transaction_To)
      r_transaction_from: count(distinct: Transaction_From)
      r_currency: count(distinct: Transfer_Currency_Symbol)
      r_call_tx_count: count(distinct: Call_To)
      r_first_date: Block {
        Date(minimum: Block_Time)
      }
      r_last_date: Block {
        Date(minimum: Block_Time)
      }
      r_count_days: uniq(of: Block_Date)
    }
    sender: Transfers(
      where: {Transfer: {Sender: {is: $address}}}
      limit: {count: 10}
    ) {
      s: count
      ChainId
      Transfer {
        Sender
      }
      s_gas_used: sum(of: Transaction_Gas)
      s_sendAmount: count(distinct: Transfer_Amount)
      s_transaction_to: count(distinct: Transaction_To)
      s_transaction_from: count(distinct: Transaction_From)
      s_currency: count(distinct: Transfer_Currency_Symbol)
      s_call_tx_count: count(distinct: Call_To)
      s_first_date: Block {
        Date(minimum: Block_Time)
      }
      s_last_date: Block {
        Date(minimum: Block_Time)
      }
      s_count_days: uniq(of: Block_Date)
    }
  }
}

Variables

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

Similar queries