Get balance of an address for a specified currency

Returns balance updates on BNB Chain, where balance update address is 0x5c95…762b and currency smart contract is 0x1337…4444, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By Akshat · saved 8 October 2025 · run 15 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery ($token: String){
  EVM(dataset: combined, network: bsc) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x5c952063c7fc8610FFDB798152D69F0B9550762b"}}, Currency: {SmartContract: {is: $token}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount)
      BalanceUpdate {
        Address
      }
    }
  }
}

Variables

{
  "token": "0x13378bcbbc386eea99f09bc716f2c80979484444"
}

Similar queries