Creates a new BlockRewards
object.
(fees) accepts transaction fees, it can only spend to the incentive pool.
(rwcalr) number of leftover MicroAlgos after the distribution of rewards-rate MicroAlgos for every reward unit in the next round.
(earn) How many rewards, in MicroAlgos, have been distributed to each RewardUnit of MicroAlgos since genesis.
(rwd) accepts periodic injections from the fee-sink and continually redistributes them as rewards.
(rate) Number of new MicroAlgos added to the participation stake from rewards at the next round.
(frac) Number of leftover MicroAlgos after the distribution of RewardsRate/rewardUnits MicroAlgos for every reward unit in the next round.
Get an object ready for encoding to either JSON or msgpack.
Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.
Static
from_Generated using TypeDoc
Fields relating to rewards,