Gas fee code 5 -- to get top gas gainers
Returns transaction balances, where token balance balance change reason code is 5, sorted by gain, highest first: token balance address, currency name, currency symbol, smart contract, pre balance, post balance and calculate.
What it returns
- token balance address
- currency name
- currency symbol
- smart contract
- pre balance
- post balance
- calculate
Filters
- token balance balance change reason code is 5
The query
query TopGasGainers {
EVM {
TransactionBalances(
where: {TokenBalance: {BalanceChangeReasonCode: {eq: 5}}}
orderBy: {descendingByField: "gain"}
) {
TokenBalance {
Address
Currency {
Name
Symbol
SmartContract
}
PreBalance
PostBalance
}
gain:calculate(expression: "$TokenBalance_PostBalance - $TokenBalance_PreBalance")
}
}
}
Similar queries
- latest token supply on USDT and USDC on ethereum chain · Ethereum · TransactionBalances
- Get Token Total Supply and Market Cap · Ethereum · TransactionBalances
- latest token supply of all active tokens on ETH chain · Ethereum · TransactionBalances
- Transaction balances · Ethereum · TransactionBalances
- All MEV Builders Tx Balance Tracker · Ethereum · TransactionBalances