ETH ChainStats Combined
Returns 1000 balance updates and transactions on Ethereum, where balance update address is 0x28c6…1d60, transaction from is 0x28c6…1d60 and transfer sender is 0x28c6…1d60, sorted by block date: sum of balance update amount, sum of balance update amount in USD, currency name, currency symbol, smart contract, block time, transaction hash and 6 more fields.
What it returns
- sum of balance update amount
- sum of balance update amount in USD
- currency name
- currency symbol
- smart contract
- block time
- transaction hash
- nonce
- to
- transaction value
- block date
- count
- sum of transfer amount in USD
Filters
- balance update address is 0x28c6…1d60
- transaction from is 0x28c6…1d60
- transfer sender is 0x28c6…1d60
- block date since 2021-04-22
The query
query ChainStats($address: String!, $Date: String!) {
EVM(dataset: combined, network: eth) {
Actual_balance: BalanceUpdates(
where: {Block: {Date: {since: $Date}}, BalanceUpdate: {Address: {is: $address}}}
) {
sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
usd: sum(of: BalanceUpdate_AmountInUSD, selectWhere: {gt: "0"})
Currency {
Name
Symbol
SmartContract
}
}
Transactions(
where: {Transaction: {From: {is: $address}}, Block: {Date: {since: $Date}}}
limit: {count: 1000}
orderBy: {descending: Block_Number}
) {
Block {
Time
}
Transaction {
Hash
Nonce
To
Value
}
}
Transfers(
where: {Transfer: {Sender: {is: $address}}, Block: {Date: {since: $Date}}}
orderBy: {ascending: Block_Date}
) {
Block {
Date
}
count
usd: sum(of: Transfer_AmountInUSD)
}
}
}
Variables
{"Date":"2021-04-22","address":"0x28c6c06298d514db089934071355e5743bf21d60"}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates