2

I know that 50% of the transaction fees on Solana are burned and 50% are given to the validator that included the transaction in the proposed block. I am unable to understand how can we find out how much transaction fees did a validator maken in an epoch.

I know that there is a getInflationReward method in the RPC API, but I think it only returns the inflation reward. Is there any method that returns the total transaction fees collected as well for an epoch ?

Thanks

1 Answer 1

2

This will require a combination of things.

1
  • I did try, the getBlock function but the "rewards" array comes out to be empty everytime. Is there any reason for this ? But it comes populated for really old blocks (like a year ago). Is there any reason for this ? Commented Nov 1, 2022 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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