Tron Balances History

Get Tron transactions for a specific currency in a specific timeframe. Returns the balance history with the balace (value) at the end of the period.

By Carlos · saved 28 October 2024 · run 16 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery($address: String, $currency: String, $from: Int, $to: Int) {
  tron {
    address(address: {is: $address}) {
      address
      balance
      balances(currency: {is: $currency}, height: {gteq: $from, lteq: $to}) {
        currency {
          address
          decimals
          name
          symbol
          tokenId
          tokenType
          properties
        }
        value
        history {
          block
          timestamp
          transferAmount
          value
        }
      }
      smartContract {
        contractType
        currency {
          decimals
          name
          symbol
          tokenType
        }
        protocolType
      }
    }
  }
}

Variables

{
  "address": "TTzCrfBRja3k3FQk3jXTtpFRjHQPu3r81n",
  "currency": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8",
  "from": 47114263,
  "to": 47120249
}

Similar queries