tron balance

Returns balance updates on Tron, where balance update address is TQPk83…uzLt and block date till 2025-05-12: sum of balance update amount, sum of balance update amount in USD, currency name, smart contract, currency symbol, has URI, decimals and fungible.

By gaurav · saved 12 May 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query ($address: String!, $till: String!) {
  Tron(dataset: combined) {
    BalanceUpdates(
      where: {Block: {Date: {till: $till}}, BalanceUpdate: {Address: {is: $address}}}
    ) {
      sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      sumUSD: sum(of: BalanceUpdate_AmountInUSD, selectWhere: {gt: "0"})
      Currency {
        Name
        SmartContract
        Symbol
        HasURI
        Decimals
        Fungible
      }
    }
  }
}

Variables

{
  "address": "TQPk835mU3WzcSWwiJQQf8rD1LXzeruzLt",
  "till": "2025-05-12"
}

Similar queries