tron_balance_by_transfers

Returns transfers on Tron, where transfer sender is TCnZ4b…edJ1, currency smart contract is TR7NHq…Lj6t and transfer receiver is TCnZ4b…edJ1: sum of transfer amount, currency name, smart contract and count.

By Omkar_BQ · saved 10 June 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Tron(dataset: combined, network: tron) {
    SEND: Transfers(
      where: {Transfer: {Sender: {is: "TCnZ4b6qQ6AqFnHoRwxQ4ENu9iAxJsedJ1"}, Success: true, Currency: {SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}}}}
    ) {
      total_amount: sum(of: Transfer_Amount)
      Transfer {
        Currency {
          Name
          SmartContract
        }
      }
      count
    }
    RECEIVE: Transfers(
      where: {Transfer: {Receiver: {is: "TCnZ4b6qQ6AqFnHoRwxQ4ENu9iAxJsedJ1"}, Success: true, Currency: {SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}}}}
    ) {
      total_amount: sum(of: Transfer_Amount)
      Transfer {
        Currency {
          Name
          SmartContract
        }
      }
      count
    }
  }
}

Similar queries