Tron amount
Given contractAddress / walletAddress / blockHeight, returns sentTotalAmount and receivedTotalAmount
What it returns
- amount
Filters
- currency is TR7NHq…Lj6t
- sender is TRNLoc…QEuy
- receiver is TRNLoc…QEuy
The query
query MyQuery($currencyAddress: String, $blockHeight: Int, $walletAddress: String) {
tron {
sent: transfers(
currency: { is: $currencyAddress }
height: { lteq: $blockHeight }
sender: { is: $walletAddress }
) {
amount(calculate: sum)
}
received: transfers(
currency: { is: $currencyAddress }
height: { lteq: $blockHeight }
receiver: { is: $walletAddress }
) {
amount(calculate: sum)
}
}
}
Variables
{
"currencyAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"blockHeight": 75332174,
"walletAddress": "TRNLocoQg4DdMCh1GJf748auxD8jqUQEuy"
}
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
- tron get addresses transactions · Tron · Transfers
- Historical Tron Wallet Balance · Tron · Balances