Ethereum-Wallet-Balances-ERC20
Returns balance updates, where balance update address is 0xED71…CF72 and currency protocol name is token or erc20: smart contract, currency name, currency symbol, fungible, native, decimals, sum of balance update amount and balance update address.
What it returns
- smart contract
- currency name
- currency symbol
- fungible
- native
- decimals
- sum of balance update amount
- balance update address
Filters
- balance update address is 0xED71…CF72
- currency protocol name is token or erc20
The query
query FETCH_ETHEREUM_WALLET_BALANCES($address_list: [String!]) {
EVM(dataset: combined) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {in: $address_list}},
Currency: {ProtocolName: {in: ["", "token", "erc20"]}}}
) {
Currency {
SmartContract
Name
Symbol
Fungible
Native
Decimals
}
sum(of: BalanceUpdate_Amount)
BalanceUpdate {
Address
}
}
}
}
Variables
{
"address_list": [ "0xED71AA0DA4FDBA512FFA398FCFF9DB8C49A5CF72"
]
}
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