income outcome sum for an address on tron
Returns transfers on Tron, where transfer receiver is TGVF6u…kfnr, currency smart contract is TR7NHq…Lj6t and transfer sender is TGVF6u…kfnr: sum of transfer amount and count.
What it returns
- sum of transfer amount
- count
Filters
- transfer receiver is TGVF6u…kfnr
- currency smart contract is TR7NHq…Lj6t
- transfer sender is TGVF6u…kfnr
- block time since 2025-03-18
- block time till 2025-04-18
- transfer amount is at least 0.01
- transfer amount is at most 9999999
The query
query ($address: String!, $startDate: DateTime!, $endDate: DateTime!, $minAmount: String!, $maxAmount: String!) {
Tron(dataset: archive, aggregates: yes) {
income: Transfers(
where: {Transfer: {Receiver: {is: $address}, Currency: {SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}}, Amount: {ge: $minAmount, le: $maxAmount}}, Block: {Time: {since: $startDate, till: $endDate}}}
) {
amount: sum(of: Transfer_Amount)
count: count
}
expense: Transfers(
where: {Transfer: {Sender: {is: $address}, Currency: {SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}}}, Block: {Time: {since: $startDate, till: $endDate}}}
) {
amount: sum(of: Transfer_Amount)
count: count
}
}
}
Variables
{
"address": "TGVF6u7xp2mtNwHLnvDuHhpfPFbrtEkfnr",
"startDate": "2025-03-18T00:00:00Z",
"endDate": "2025-04-18T23:59:59Z",
"minAmount": "0.01",
"maxAmount": "9999999"
}
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