USDT Token holder Template

Returns 10 balance updates on Ethereum, where currency smart contract is 0xdac1…1ec7, sorted by balance, highest first: balance update address and sum of balance update amount.

By Divyasshree N · saved 6 July 2023 · run 38 times · Bitquery API v2

What it returns

Filters

The query

query myquery($token:String!){
  EVM(network: eth, dataset: archive) {
    BalanceUpdates(
      limit: {count: 10}
      orderBy: {descendingByField: "balance"}
      where: {Currency: {SmartContract: {is: $token}}}
    ) {
      BalanceUpdate {
        Address
      }
      balance: sum(of: BalanceUpdate_Amount)
    }
  }
}

Variables

{
  "token":"0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries