Tron total txn fees paid by the Account
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: Tron(dataset: combined) archive full history combined archive + realtime in one result Archive and com
What it returns
- sum of transaction fee in USD
- sum of transaction fee
Filters
- transaction fee payer is TBgP9d…L3YW
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# Tron(dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
query MyQuery {
Tron {
Transfers(
where: {Transaction: {Result: {Success: true}, FeePayer: {is: "TBgP9dqfZPfxLXPKPyXZCUT1XScTa3L3YW"}}}
) {
Total_fees_paid_in_USD:sum(of:Transaction_FeeInUSD)
Total_fees_paid_in_TRX:sum(of:Transaction_Fee)
}
}
}
Similar queries
- Full USDT TRC20 transfer history of a Tron wallet · Tron · Transfers
- Tron wallet USDT total sent and received · Tron · Transfers
- top receivers showing this address 6zjWXRe9FdzDcuNWa29j9C7HcihVbqrKx · Tron · Transfers
- Tron balance query · Tron · Transfers
- Historical Tron Wallet Balance · Tron · Balances