Eth ChainStats Part 1
Returns balance updates on Ethereum, where balance update address is 0x28c6…1d60 and block date since 2021-04-22: sum of balance update amount, sum of balance update amount in USD, currency name, currency symbol and smart contract.
What it returns
- sum of balance update amount
- sum of balance update amount in USD
- currency name
- currency symbol
- smart contract
Filters
- balance update address 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
}
}
}
}
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