Ordering in real time dataset

Returns 500 transfers, where currency smart contract is 0xcda3…abb1, sorted by amount, highest first: receiver and sum of transfer amount.

By gaurav · saved 25 January 2024 · run 17 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: realtime) {
    Transfers(
      limit: {count: 500}
      orderBy: {descendingByField: "amount"}
      where: {Transfer: {Currency: {SmartContract: {is: "0xcda330311c6ede4bd972a75349f59987ea5babb1"}}}}
    ) {
      Transfer {
        Receiver
      }
      amount: sum(of: Transfer_Amount)
    }
  }
}

Similar queries