get balance change
latest trades for a token - both buy and sell
Returns 2000 balance updates on Ethereum, where currency smart contract is 0x7523…a86c or 0xA0b8…eB48, block time after 2023-05-16 and block time before 2023-05-17, sorted by balance changed, highest first: balance update address, sum of balance update amount and currency name.
What it returns
- balance update address
- sum of balance update amount
- currency name
Filters
- currency smart contract is 0x7523…a86c or 0xA0b8…eB48
- block time after 2023-05-16
- block time before 2023-05-17
The query
{
EVM(network: eth, dataset: archive) {
BalanceUpdates(
limit: {count: 2000}
orderBy: {descendingByField: "balanceChanged"}
where: {Currency: {SmartContract: {in: ["0x75231f58b43240c9718dd58b4967c5114342a86c", "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]}}, Block: {Time: {after: "2023-05-16T06:51:24Z", before: "2023-05-17T06:51:24Z"}}}
) {
BalanceUpdate {
Address
}
balanceChanged: sum(of: BalanceUpdate_Amount)
Currency {
Name
}
}
}
}
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