tron balances complete_

Returns transfers and contracts on Tron, where sender is TD32z2…pCSj, receiver is TD32z2…pCSj and tx owner is TD32z2…pCSj: amount, currency address, currency symbol, currency name, maximum of time and fee.

By Omkar_BQ · saved 7 October 2025 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $till: ISO8601DateTime, $height: Int!) {
  tron {
    sent: transfers(
      sender: {is: $address}
      height: {lteq: $height}
      currency: {is: "TRX"}
      time: {till: $till}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
      maximum(of:time,get:time)
    }
    received: transfers(
      receiver: {is: $address}
      currency: {is: "TRX"}
      time: {till: $till}
      height: {lteq: $height}
      success: true
    ) {
      maximum(of:time,get:time)
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    fee: transfers(time: {till: $till}, height: {lteq: $height}) {
      fee(calculate: sum, txFrom: {is: $address})
    }
    contracts(
      txOwner: {is: $address}
      contractType: {in: ["FreezeBalance","FreezeBalanceV2"]}
      time: {till: $till}
      height: {lteq: $height}
    ) {
      amount(calculate: sum)
      currency {
        name
      }
    }
  }
}

Variables

{
  "address": "TD32z28Qmyz1zj3LfoYMGnfxPTbsVopCSj",
  "till": "2025-12-31T20:58:59",
  "dateFormat": "%Y-%m-%d",
  "height": 
56847214
}

Similar queries