Ethereum balance at 2 different blocks
Returns balance updates on Ethereum, where balance update address is 0xcf1D…35f6 and currency smart contract is 0x: currency name, currency symbol, smart contract and sum of balance update amount.
What it returns
- currency name
- currency symbol
- smart contract
- sum of balance update amount
Filters
- balance update address is 0xcf1D…35f6
- currency smart contract is 0x
The query
query MyQuery {
EVM(dataset: archive, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0xcf1DC766Fc2c62bef0b67A8De666c8e67aCf35f6"}}, Currency: {SmartContract: {is: "0x"}}}
) {
Currency {
Name
Symbol
SmartContract
}
balance1: sum(
of: BalanceUpdate_Amount
selectWhere: {gt: "0"}
if: {Block: {Number: {le: "17100000"}}}
)
balance2: sum(
of: BalanceUpdate_Amount
selectWhere: {gt: "0"}
if: {Block: {Number: {le: "19731118"}}}
)
}
}
}
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