[http] add network rewards sum
allenan opened this issue · comments
Andrew Allen commented
data/rewards.js:
72 export const getNetworkRewardsBuckets = async (numBack, bucketType) => {
73: const rewards = await fetchAll('/rewards/sum', {
74 min_time: `-${numBack} ${bucketType}`,