Skip to main content

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.