Count Distinct
count with distinct attribute calculates the unique values in each set of dimensions.
This query will count miners (unique coinbase) by every date:
{
EVM (dataset: archive){
Blocks {
Block {
Date
}
miners: count(distinct: Block_Coinbase)
}
}
}
Build with Bitquery
Ready to run this in production?
Get an API key and run these queries in minutes, or talk to us about plans and enterprise delivery.