TRON Balance Query
Returns balance updates on Tron, where balance update address is TKRv2a…PG2X: sum of balance update amount, sum of balance update amount in USD, currency name, currency symbol and smart contract.
What it returns
- sum of balance update amount
- sum of balance update amount in USD
- currency name
- currency symbol
- smart contract
Filters
- balance update address is TKRv2a…PG2X
The query
query Balances($address: String!) {
Tron(dataset: combined, network: tron) {
Actual_balance: BalanceUpdates(
where: {
BalanceUpdate: {Address: {is: $address}}}
) {
sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
usd: sum(of: BalanceUpdate_AmountInUSD, selectWhere: {gt: "0"})
Currency {
Name
Symbol
SmartContract
}
}
}
}
Variables
{
"address": "TKRv2aq17qbdXWkSP6YppSGEkBTTpgPG2X"
}
Similar queries
- Tron Balance of Address at Blockdate · Tron · BalanceUpdates
- tron historical balance · Tron · BalanceUpdates
- tron v2 · Tron · BalanceUpdates
- Tron BalanceUpdates Native eg · Tron · BalanceUpdates
- Tron transfer · Tron · BalanceUpdates