Token Transfers

Returns 3 transfers on Ethereum, where currency smart contract is 0xc02a…6cc2, block date since 2023-08-06 and block date till 2023-08-06: chain ID, block date, count and sum of transfer amount.

By Nadia · saved 7 August 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!, $from: String, $till: String) {
  EVM(network: $network, dataset: combined) {
    Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}, Block: {Date: {since: $from, till: $till}}}
      limit: {count: 3}
    ) {
      ChainId
      Block {
        Date
      }
      count
      amount: sum(of: Transfer_Amount)
    }
  }
}

Variables

{
  "network": "eth",
  "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "from": "2023-08-06",
  "till": "2023-08-06"
}

Similar queries