BSC address balance for specific currency

Buy and sell trades for a given address

Returns balance updates on BNB Chain, where balance update address is 0x55d3…7955 and currency smart contract is 0xbb4c…095c: currency name, smart contract and sum of balance update amount.

By Aparna Sridhar · saved 1 March 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: bsc) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x55d398326f99059ff775485246999027b3197955"}}, Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}
    ) {
      Currency {
        Name
        SmartContract
      }
      balance: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries