Common Token Holder
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
{
EVM(dataset: archive) {
BalanceUpdates(
limit: {count: 10}
where: {Currency: {SmartContract: {in: ["0xfa3e941d1f6b7b10ed84a0c211bfa8aee907965e", "0x06450dee7fd2fb8e39061434babcfc05599a6fb8"]}}}
) {
BalanceUpdate {
Address
}
token1: sum(
of: BalanceUpdate_Amount
if: {Currency: {SmartContract: {is: "0xfa3e941d1f6b7b10ed84a0c211bfa8aee907965e"}}}
selectWhere: {gt: "0"}
)
token2: sum(
of: BalanceUpdate_Amount
if: {Currency: {SmartContract: {is: "0x06450dee7fd2fb8e39061434babcfc05599a6fb8"}}}
selectWhere: {gt: "0"}
)
}
}
}
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