Tron v2 balance query
Returns balance updates on Tron, where balance update address is TVUtDz…Kyk2 and currency smart contract is TR7NHq…Lj6t, sorted by balance, highest first: currency name and sum of balance update amount.
What it returns
- currency name
- sum of balance update amount
Filters
- balance update address is TVUtDz…Kyk2
- currency smart contract is TR7NHq…Lj6t
The query
{
Tron(dataset: combined, aggregates: yes) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "TVUtDzQS7hsRa9uV2agq1WZvhHmx4bKyk2"}}, Currency: {SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_Amount)
}
}
}
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