helium / helium-js

Official TypeScript packages for interacting with the Helium blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[http] add network rewards sum

allenan opened this issue · comments

data/rewards.js:
   72  export const getNetworkRewardsBuckets = async (numBack, bucketType) => {
   73:   const rewards = await fetchAll('/rewards/sum', {
   74      min_time: `-${numBack} ${bucketType}`,