usdt-arrival-in-a-specific-wallet-tron

Streams balance updates on Tron as they happen, where currency smart contract is TR7NHq…Lj6t, balance update address is TTgFyj…AtM7 and balance update amount is above 0: balance update address, balance update amount, amount in USD, block time, currency name, smart contract, currency symbol and transaction hash.

By Kshitij Mahajan · saved 14 October 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription($token: String = "", $address: String = "") {
  Tron {
    BalanceUpdates(
      where: {Currency: {SmartContract: {is: $token}}, BalanceUpdate: {Amount: {gt: "0"}, Address: {is: $address}}}
    ) {
      BalanceUpdate {
        Address
        Amount
        AmountInUSD
      }
      Block {
        Time
      }
      Currency {
        Name
        SmartContract
        Symbol
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
  "address": "TTgFyjpnidKHDxCv65BvuDtDCsy6kpAtM7"
}

Similar queries