Debasish22
Debasish22

Reputation: 398

Fees , Reward and Staking in Near

Can any one help me understand

  1. What happens to the fees of each transactions ? Does fees become part of the reward ?

  2. When does the reward gets distributed . Is there any specific timeperiod. Can you please point me to couple of examples in explorer where reward is distribuited.

i got this docs for Reward - https://nomicon.io/Economics/README.html#rewards-calculation

coinbaseReward[t] The maximum inflation per epoch[t], as a function of REWARD_PCT_PER_YEAR / EPOCHS_A_YEAR

where can i get REWARD_PCT_PER_YEAR and EPOCHS_A_YEAR. Does it remain fixed for ceratin range of blocks

epochReward[t] = coinbaseReward[t] + epochFee[t]

epochFee[t] - does this mean fees of all transactions happened in an epoch .

  1. Can i have some staking transactions from explorer if any

Upvotes: 1

Views: 225

Answers (1)

Olga Telezhnaya
Olga Telezhnaya

Reputation: 86

Sure, I had exactly the same questions and came out with a doc.

In a few words:

  1. Fees are burnt, they do not become a part of validators reward, though part of the fees of function calls and cross-contract function calls become a royalty reward to contract accounts.
  2. Reward tokens are minted every epoch (something about every 12 hours) and gone to staking pools.
  3. Please check the doc for the examples, I covered all possible situations of balance changing with all numbers and explanation what is going on.

UPD by the way, it's true, there is no information about royalties in Nomicon, we created the issue for that

Upvotes: 1

Related Questions