common token holders for multiple tokens
Returns 10 balance updates, where currency smart contract is 0xfa3e…965e or 0x0645…6fb8: balance update address and sum of balance update amount.
What it returns
- balance update address
- sum of balance update amount
Filters
- currency smart contract is 0xfa3e…965e or 0x0645…6fb8
The query
query($token1: String!, $token2: String!) {
EVM(dataset: archive) {
BalanceUpdates(
limit: {count: 10}
where: {
Currency: {
SmartContract: {
in: [$token1,$token2]
}
}
}
) {
BalanceUpdate {
Address
}
token1: sum(of: BalanceUpdate_Amount if: {Currency: {SmartContract: {is: $token1}}} selectWhere: {gt: "0"})
token2: sum(of: BalanceUpdate_Amount if: {Currency: {SmartContract: {is: $token2}}} selectWhere: {gt: "0"})
}
}
}
Variables
{
"token1": "0xfa3e941d1f6b7b10ed84a0c211bfa8aee907965e",
"token2": "0x06450dee7fd2fb8e39061434babcfc05599a6fb8",
"date": "2025-11-22"
}
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