tron balances

Returns transfers on Tron, where sender is TAnLcb…pdoU, receiver is TAnLcb…pdoU and currency is TRX: amount, currency address, currency symbol, currency name and fee.

By gaurav · saved 19 July 2024 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $till: ISO8601DateTime) {
  tron {
    sent: transfers(
      sender: {is: $address}
      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}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    fee: transfers(date: {till: $till}) {
      fee(calculate: sum, sender: {is: $address})
    }
  }
}

Variables

{
  "address": "TAnLcbp5dyX9WrRtymqa9sGSfds4AQpdoU",
  "till": "2024-05-16T03:04:51",
  "dateFormat": "%Y-%m-%d"
}

Similar queries