token holders at a timestamp error

Common token holder Bored Ape Yacht Club and Mutant Ape Yacht Club

Returns 10 balance updates, where currency smart contract is 0xbc4c…f13d, sorted by token1, highest first: balance update address and sum of balance update amount.

By Divyasshree · saved 13 March 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive) {
    BalanceUpdates(
      orderBy: {descendingByField: "token1"}
      limit: {count: 10}
      where: {Currency: {SmartContract: {in: ["0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"]}}}
    ) {
      BalanceUpdate {
        Address
      }
      token1: sum(
        of: BalanceUpdate_Amount
        if: {Currency: {SmartContract: {is: "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"}}, Block: {Time: {is: "2024-03-13T13:55:23Z"}}}
        selectWhere: {gt: "0"}
      )
    }
  }
}

Similar queries