Number of holders of a token
Returns balance updates on Ethereum, where balance update address is 0x461a…0400, sorted by balance, highest first: smart contract, currency name and sum of balance update amount.
What it returns
- smart contract
- currency name
- sum of balance update amount
Filters
- balance update address is 0x461a…0400
The query
query getAllUserTokens($network: evm_network, $address: String!) {
EVM(dataset: combined, network: $network) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: $address}}, Currency: {Fungible: true}}
orderBy: {descendingByField: "balance"}
) {
Currency {
SmartContract
Name
}
balance: sum(of: BalanceUpdate_Amount)
}
}
}
Variables
{"network":"eth", "address": "0x461a5b8326ba0e2dfd133651a3b559dc8d3b0400"}
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