VTHO can be generated in the following ways:
There is no simple way to get the block reward. One approach for post Hayabusa could be to use the difference in VTHO totalSupply between the previous and current blocks. However per hayabusa this won't work as VTHO is generated by holding VET.
This could be a useful reference for the stargate rewards https://github.com/vechain/vechain-indexer/blob/main/packages/indexer/src/main/kotlin/org/vechain/indexer/validator/ValidatorBlockService.kt
VTHO can be generated in the following ways:
There is no simple way to get the block reward. One approach for post Hayabusa could be to use the difference in VTHO totalSupply between the previous and current blocks. However per hayabusa this won't work as VTHO is generated by holding VET.
This could be a useful reference for the stargate rewards https://github.com/vechain/vechain-indexer/blob/main/packages/indexer/src/main/kotlin/org/vechain/indexer/validator/ValidatorBlockService.kt