networkGrossApr
networkGrossApr(
set,epochMs):object
Defined in: protocol-staking-native-near/src/validators.ts:89
Network gross APR: Σ rewards ÷ Σ stake over current validators with a reward entry, the treasury excluded.
Parameters
Section titled “Parameters”epochMs
Section titled “epochMs”number
Returns
Section titled “Returns”object
apr:
number
totalStake
Section titled “totalStake”totalStake:
bigint
validators
Section titled “validators”validators:
number