Tron calculating balance upto a given date

Returns transfers on Tron, where sender is TYE218…7ESS, currency is TR7NHq…Lj6t and receiver is TYE218…7ESS: amount, currency address, currency symbol and currency name.

By gaurav · saved 5 April 2024 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  tron {
    sent: transfers(
      sender: {is: "TYE218dMfzo2TH348AbKyHD2G8PjGo7ESS"}
      currency: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}
      date: {till: "2024-01-01"}
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    received: transfers(
      receiver: {is: "TYE218dMfzo2TH348AbKyHD2G8PjGo7ESS"}
      currency: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}
      date: {till: "2024-01-01"}
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
  }
}

Similar queries