balance of crypto in a wallet
Returns balance updates on Ethereum, where balance update address is 0x6DAA…dAD1 and balance update amount in USD is above 0, sorted by balance, highest first: currency name, sum of balance update amount in USD and balance update address.
What it returns
- currency name
- sum of balance update amount in USD
- balance update address
Filters
- balance update address is 0x6DAA…dAD1
- balance update amount in USD is above 0
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0x6DAA633C23615a29471dEaFae351727867E7dAD1"}, AmountInUSD: {gt: "0"}}, Currency: {}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_AmountInUSD, selectWhere: {gt: "0"})
BalanceUpdate {
Address
}
}
}
}
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