Sum
sum element in the query returns the sum of elements in each set of dimensions.
Example:
{
EVM (dataset: archive){
MinerRewards {
Block {
Date
}
sum(of: Reward_Total)
miners: count(distinct: Block_Coinbase)
}
}
}
sum(of: Reward_Total) returns the sum of total rewards over every date.
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.