eth_balance_query
Returns balance updates on Ethereum, where balance update address is 0x0FB8…3D58: currency name, currency symbol, smart contract, decimals, sum of balance update amount and sum of balance update amount in USD.
What it returns
- currency name
- currency symbol
- smart contract
- decimals
- sum of balance update amount
- sum of balance update amount in USD
Filters
- balance update address is 0x0FB8…3D58
The query
query MyQuery($network: evm_network, $walletAddress: String) {
EVM(dataset: combined, network: $network) {
BalanceUpdates(where: {BalanceUpdate: {Address: {is: $walletAddress}}}) {
Currency {
Name
Symbol
SmartContract
Decimals
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
balance_in_usd: sum(of: BalanceUpdate_AmountInUSD)
}
}
}
Variables
{
"network": "eth",
"walletAddress": "0x0FB80C396DCBEF832410f60b2eAeA63cb2E73D58"
}
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