Tron Balances at given time

Returns balances and transfers on Tron, where balance address is THPvaU…n5YC, block date till 2026-06-01 and block date is 2026-06-02: balance address, balance amount, currency name, smart contract, currency symbol and sum of transfer amount.

By gaurav · saved 29 June 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  Tron(dataset: archive) {
    Balances(
      where: {Block: {Date: {till: "2026-06-01"}}, Balance: {Address: {is: "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC"}}}
    ) {
      Balance {
        Address
        Amount
      }
      Currency {
        Name
        SmartContract
        Symbol
      }
    }
  }
  a: Tron(dataset: archive) {
    Transfers(
      where: {Block: {Date: {is: "2026-06-02"}, Time: {since: "2026-06-02T00:00:00Z", till: "2026-06-02T06:00:00Z"}}}
    ) {
      s: sum(
        of: Transfer_Amount
        if: {Transfer: {Sender: {is: "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC"}}}
      )
      r: sum(
        of: Transfer_Amount
        if: {Transfer: {Receiver: {is: "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC"}}}
      )
      Transfer {
        Currency {
          Name
          Symbol
          SmartContract
        }
      }
    }
  }
}

Similar queries