Latest Transfers of Token

Returns 100 transfers on Ethereum, where currency smart contract is 0x50d1…a4c9, block date since 2022-02-01 and block date till 2022-12-15, sorted by transfer amount, highest first: chain ID, sum of transfer amount, transfer amount, sender, transfer ID, receiver, currency symbol and 5 more fields.

By Pranjal · saved 19 May 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $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: $limit}
      orderBy: {descending: Transfer_Amount}
    ) {
      ChainId
      sum(of: Transfer_Amount)
      Transfer {
        Amount
        Sender
        Id
        Receiver
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{"network":"eth","mempool":false,"limit":100,"offset":0,"from":"2022-02-01","till":"2022-12-15","token":"0x50d1c9771902476076ecfc8b2a83ad6b9355a4c9","dateFormat":"%Y-%m","date_middle":"2022-07-09"}

Similar queries