example of wallet balance
Returns balance updates, where balance update address is 0x28c6…1d60, 0x974c…c400 or 3 more: smart contract, currency name, currency symbol, fungible, native, protocol name, decimals and 2 more fields.
What it returns
- smart contract
- currency name
- currency symbol
- fungible
- native
- protocol name
- decimals
- sum of balance update amount
- balance update address
Filters
- balance update address is 0x28c6…1d60, 0x974c…c400 or 3 more
The query
query FETCH_ETHEREUM_WALLET_BALANCES($address_list: [String!]) {
EVM(dataset: combined) {
BalanceUpdates(where: {BalanceUpdate: {Address: {in: $address_list}}}) {
Currency {
SmartContract
Name
Symbol
Fungible
Native
ProtocolName
Decimals
}
sum(of: BalanceUpdate_Amount)
BalanceUpdate {
Address
}
}
}
}
Variables
{"address_list": ["0x28c6c06298d514db089934071355e5743bf21d60", "0x974caa59e49682cda0ad2bbe82983419a2ecc400", "0x8da2931006453e0285682314af5bcd2377deaeb1", "0xf977814e90da44bfa03b6295a0616a897441acec", "0xcfc0f98f30742b6d880f90155d4ebb885e55ab33"]}
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