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, asset ID, has URI and 6 more fields.

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

What it returns

Filters

The query

query ($address: String!, $till: String!) {
  Tron(dataset: archive) {
    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
        AssetId
        HasURI
        Decimals
        ProtocolName
        Delegated
        DelegatedTo
        Fungible
        Native
      }
    }
  }
}

Variables

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

Similar queries