balance and latest price
Returns balance updates on Ethereum, where balance update address is 0x7C70…fdD3 and currency smart contract is 0xE0f6…c56C: currency name, smart contract, sum of balance update amount and price in USD.
What it returns
- currency name
- smart contract
- sum of balance update amount
- price in USD
Filters
- balance update address is 0x7C70…fdD3
- currency smart contract is 0xE0f6…c56C
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0x7C706586679Af2BA6D1A9fC2DA9C6aF59883fdD3"}}, Currency: {SmartContract: {is: "0xE0f63A424a4439cBE457D80E4f4b51aD25b2c56C"}}}
) {
Currency {
Name
SmartContract
}
balance: sum(of: BalanceUpdate_Amount)
joinDEXTradeByTokens(
Trade_Currency_SmartContract: Currency_SmartContract
join: any
where: {Block: {Date: {since: "2025-07-30"}}, Currency: {SmartContract: {is: "0xE0f63A424a4439cBE457D80E4f4b51aD25b2c56C"}}}
limit: {count: 1}
) {
Trade {
PriceInUSD(maximum: Block_Time)
}
}
}
}
}
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