Ethereum_Token_Balances
Returns token holders on Ethereum, where balance amount is above 0, sorted by balance amount, highest first: holder address, balance amount, currency symbol, currency name, decimals, sum of balance amount, unique of holder address and count.
What it returns
- holder address
- balance amount
- currency symbol
- currency name
- decimals
- sum of balance amount
- unique of holder address
- count
Filters
- balance amount is above 0
The query
query FETCH_ETHEREUM_TOKEN_BALANCES($address: String!,
$as_of_date: String!,
$top_n_count: Int) {
EVM(network: eth, dataset: archive) {
#top 100 holders
token_holders: TokenHolders(
date: $as_of_date
tokenSmartContract: $address
where: {Balance: {Amount: {gt: "0"}}}
orderBy: {descending: Balance_Amount}
limit: {count: $top_n_count}
) {
Holder {
Address
}
Balance {
Amount
}
Currency {
Symbol
Name
Decimals
}
}
# token holders count and token supply
token_metrics: TokenHolders(
date: $as_of_date
tokenSmartContract: $address
where: {Balance: {Amount: {gt: "0"}}}
)
{
token_supply: sum(of: Balance_Amount)
token_holders_count: uniq(of: Holder_Address)
token_holders_count_2: count(distinct: Holder_Address)
token_holders_count_3: count(
distinct: Holder_Address
if: {Balance: {Amount: {gt: "0"}}}
)
}
}
}
Similar queries
- USDT token holder distribution · Ethereum · TokenHolders
- EVM TokenHolders bat token · Ethereum · TokenHolders
- Check USDC on 16 May · Ethereum · TokenHolders
- tokens owned by an address #2 · Ethereum · TokenHolders
- Telcoin holders · Ethereum · TokenHolders