v2 equivalent query
Returns transfers on Tron, where transfer receiver is TWd4Wr…5jwb, currency smart contract is TR7NHq…Lj6t and transfer sender is TWd4Wr…5jwb: sum of transfer amount, sum of transfer amount in USD and count.
What it returns
- sum of transfer amount
- sum of transfer amount in USD
- count
Filters
- transfer receiver is TWd4Wr…5jwb
- currency smart contract is TR7NHq…Lj6t
- transfer sender is TWd4Wr…5jwb
- block time since 2026-07-01
- block time till 2026-07-13
- transfer amount is at least 100
- transfer amount is at most 10000
The query
query ($address: String!, $startDate: DateTime!, $endDate: DateTime!, $minAmount: String!, $maxAmount: String!) {
Tron(dataset: combined) {
income: Transfers(
where: {
Transfer: {
Receiver: { is: $address }
Currency: { SmartContract: { is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" } }
Amount: { ge: $minAmount, le: $maxAmount }
}
Block: { Time: { since: $startDate, till: $endDate } }
}
) {
total_amount: sum(of: Transfer_Amount)
total_amount_usd: sum(of: Transfer_AmountInUSD)
count
}
expense: Transfers(
where: {
Transfer: {
Sender: { is: $address }
Currency: { SmartContract: { is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" } }
Amount: { ge: $minAmount, le: $maxAmount }
}
Block: { Time: { since: $startDate, till: $endDate } }
}
) {
total_amount: sum(of: Transfer_Amount)
total_amount_usd: sum(of: Transfer_AmountInUSD)
count
}
}
}
Variables
{
"address": "TWd4WrZ9wn84f5x1hZhL4DHvk738ns5jwb",
"startDate": "2026-07-01T00:00:00Z",
"endDate": "2026-07-13T00:00:00Z",
"minAmount": "100",
"maxAmount": "10000"
}
Similar queries
- Tron: Top USDT Receivers in the Last Hour · Tron · Transfers
- Full USDT TRC20 transfer history of a Tron wallet · Tron · Transfers
- top receivers showing this address 6zjWXRe9FdzDcuNWa29j9C7HcihVbqrKx · Tron · Transfers
- Historical Tron Wallet Balance · Tron · Balances