native & non-native transfers

Returns the latest transfers on Arbitrum, where transfer sender is 0x82af…bab1: chain ID, block date, count and sum of transfer amount.

By Divyasshree N · saved 12 January 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  native: EVM(dataset: combined, network: $network) {
    Transfers(
      where: {Transfer: {Sender: {is: $address}, Currency: {Native: true}}}
      orderBy: {descending: Block_Date}
    ) {
      ChainId
      Block {
        Date
      }
      count
      sum(of: Transfer_Amount)
    }
  }
   not_native: EVM(dataset: combined, network: $network) {
    Transfers(
      where: {Transfer: {Sender: {is: $address}, Currency: {Native: false}}}
      orderBy: {descending: Block_Date}
    ) {
      ChainId
      Block {
        Date
      }
      count
      sum(of: Transfer_Amount)
    }
  }
}

Variables

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

Similar queries