Token Transfers

Returns 1500 transfers on Ethereum, where currency smart contract is 0x50d1…a4c9, block date since 2022-05-01 and block date till 2023-2-28, sorted by block date: chain ID, block date, count, sum of transfer amount, currency name, currency symbol and smart contract.

By Pranjal · saved 20 May 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $token: String!, $from: String, $till: String) {
  EVM(network: $network, dataset: combined) {
    Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $token}}}, Block: {Date: {since: $from, till: $till}}}
      limit: {count: 1500}
      orderBy: {ascending: Block_Date}
    ) {
      ChainId
      Block {
        Date(interval: {count: 30})
      }
      count
      amount: sum(of: Transfer_Amount)
      Transfer {
        Currency {
          Name
          Symbol
          SmartContract
        }
      }
    }
  }
}

Variables

{"network":"eth","token":"0x50d1c9771902476076ecfc8b2a83ad6b9355a4c9","from":"2022-05-01","till":"2023-2-28","dateFormat":"%Y-%m","date_middle":"2022-09-29"}

Similar queries