tron balance

tron balances complete

Returns transfers and contracts on Tron, where sender is TURT3x…zvAm, receiver is TURT3x…zvAm and tx owner is TURT3x…zvAm: amount, currency address, currency symbol, currency name, fee, count and tx owner address.

By Omkar_BQ · saved 11 April 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
      }
    }
    received: transfers(
      receiver: {is: $address}
      currency: {is: "TRX"}
      time: {till: $till}
      height: {lteq: $height}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    netFee: contracts(height: {lteq: $height}, txOwner: {is: $address}) {
      fee(calculate: sum)
      count
      txOwner {
        address
      }
    }
  }
}

Variables

{
  "address": "TURT3xnZBhGCcPSSfccNDDFBxmEZW7zvAm",
  "till": "2025-08-22T08:29:06",
  "dateFormat": "%Y-%m-%d",
  "height": 71238737 
}

Similar queries