tron balances complsdete

tron balances complete

Returns transfers and contracts on Tron, where sender is TGcxgr…AkVW, receiver is TGcxgr…AkVW and tx from is TGcxgr…AkVW: amount, currency address, currency symbol, currency name and fee.

By Omkar_BQ · saved 10 August 2025 · run 47 times · 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"}
      date: {till: $till}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    received: transfers(
      receiver: {is: $address}
      currency: {is: "TRX"}
      date: {till: $till}
      height: {lteq: $height}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    fee: transfers(date: {is: $till}, height: {lteq: $height}, txFrom: {is: $address}) {
      fee(calculate: sum)
    }
    contracts(
      txOwner: {is: $address}
      contractType: {in: ["FreezeBalance","FreezeBalanceV2"]}
      date: {till: $till}
      height: {lteq: $height}
    ) {
      amount(calculate: sum)
      currency {
        name
      }
    }
  }
}

Variables

{
  "address": "TGcxgrW4aZrAo8GP3HXSxsJzEsQQztAkVW",
  "till": "2024-08-22T08:29:06",
  "dateFormat": "%Y-%m-%d",
  "height": 
56847214
}

Similar queries