common token holders for multiple tokens
Returns 500 balance updates, where currency smart contract is 0x49fb…72c4, 0xc56c…12b8 or 1 more: 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 0x49fb…72c4, 0xc56c…12b8 or 1 more
The query
query($token1: String!, $token2: String!, $token3: String!) {
EVM(dataset: archive) {
BalanceUpdates(
limit: {count: 500}
where: {
Currency: {
SmartContract: {
in: [$token1,$token2,$token3]
}
}
}
) {
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"})
token3: sum(of: BalanceUpdate_Amount if: {Currency: {SmartContract: {is: $token3}}} selectWhere: {gt: "0"})
}
}
}
Variables
{
"token1": "0x49fb8ad7578148e17c3ef0c344ce23a66ed372c4",
"token2": "0xc56c7a0eaa804f854b536a5f3d5f49d2ec4b12b8",
"token3": "0x289ff00235d2b98b0145ff5d4435d3e92f9540a6",
"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