0

This question already has an answer here:

I have noticed that the coinbase award for the block is not contained in the list of transactions retuned by e.g web3.eth.getBlock. Nor is it contained in its own field. I cannot even find an incoming transaction on the miners account on etherscan. I need to be able to look up each blocks coinbase award- any ideas how to do this using web3.js

marked as duplicate by Tjaden Hess, Community May 3 '17 at 16:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

As stated in Tjaden link, no transaction is created for the miner reward. Instead, the balance of the account in block.miner address is increased.

I'm not sure your use case but if you want to calculate the reward amount the miner received in it's account, the formula is stated in Yellow Paper eq 148:

5 ETH * (1 + block.uncles.length / 32)

Notes:

Not the answer you're looking for? Browse other questions tagged or ask your own question.