Balance of an address at a given time
Returns balance updates on Ethereum, where currency smart contract is 0xa0b8…eb48, balance update address is 0xF2D7…ab50 and block time till 2024-07-01: currency name, smart contract and sum of balance update amount.
What it returns
- currency name
- smart contract
- sum of balance update amount
Filters
- currency smart contract is 0xa0b8…eb48
- balance update address is 0xF2D7…ab50
- block time till 2024-07-01
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {Block: {Time: {till: "2024-07-01T00:00:00Z"}}, Currency: {SmartContract: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}, BalanceUpdate: {Address: {is: "0xF2D739b97B8AF348ba925c6DB4F59596CEa6ab50"}}}
) {
Currency {
Name
SmartContract
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
}
}
}
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