Home Reference Source
public class | source

BlockchainMiningReward

You can directly use an instance of this class. blockchainMiningReward

Method Summary

Public Methods
public

getReward(height: *): *

Returns the block[height]'s reward in WEBD sub-units

public

getSumReward(height: *): *

Returns the entire distribution in WEBD sub-units including GENESIS(~9.9%)

Public Methods

public getReward(height: *): * source

Returns the block[height]'s reward in WEBD sub-units

Params:

NameTypeAttributeDescription
height *

Return:

*

public getSumReward(height: *): * source

Returns the entire distribution in WEBD sub-units including GENESIS(~9.9%)

Params:

NameTypeAttributeDescription
height *

Return:

*